shabados / database

A digital representation of Sikh Bani and other Panthic texts with a public logbook of sangat-sourced corrections.
https://docs.shabados.com/database
GNU General Public License v3.0
66 stars 25 forks source link

Banis seem to speed up after extreme usage #1360

Open Harjot1Singh opened 4 years ago

Harjot1Singh commented 4 years ago

The banis benchmark slowly the first usage after a build, but then speed up.

Perhaps something is being generated to aid querying?

To try: disable index auto creation, and preload the DB with analyse stats, based off a benchmarked DB

Harjot1Singh commented 4 years ago

Is it just a dev thing?

Harjot1Singh commented 4 years ago

https://vincit.github.io/objection.js/api/objection/#initialize ?