forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Matchu
154bdd5d0d
items#show has been very slow recently, and I think it's because there's a lot of querying to be done. Another option would have been to attempt to short-circuit Item#supported_species if not body specific, but that would still leave us with 1s load times for body specific items, which is not satisfactory. The short-circuiting might still be worth doing, but probably not now. I'm also not sure that this is actually the core performance problem, but we'll see. It definitely helped on the dev server: items#show took about 200ms on item pages where everything but species images were cached, then took about 30ms on subsequent loads. Looking like a good candidate. |
||
---|---|---|
.sass-cache | ||
app | ||
autotest | ||
config | ||
db | ||
doc | ||
lib | ||
public | ||
script | ||
spec | ||
test | ||
tmp | ||
vendor | ||
.gitignore | ||
bundle | ||
config.ru | ||
Gemfile | ||
Gemfile.lock | ||
isntall | ||
LICENSE | ||
Rakefile | ||
README |
An extension of Dress to Impress (PHP) that runs on Ruby on Rails. I wanted to use Rails initially for Impress, but hoped that using PHP would allow me to attract more developers. Looks like that wasn't the case, so I just went with what I loved and made the items database in Rails. Future Impress sections will likely find themselves in this project, rather than the PHP project.