hgeorgsch / armchar-swish

ArM character server implementation using Haskell and Swish
GNU General Public License v3.0
0 stars 1 forks source link

Speed up get request #73

Closed hgeorgsch closed 2 years ago

hgeorgsch commented 2 years ago

Each request to get traits take 10-12s CPU-time at the server. There are two plausible ways to improve this.

  1. cache character sheets as Haskell data types
  2. translate directly from RDF query results to JSON without making haskell data types.
hgeorgsch commented 2 years ago

It may be a good idea to do #74 first, to have a way to handle all the intermediate data types

hgeorgsch commented 2 years ago

Massive speedup by not parsing RDF into Trait types.