New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening the database takes a long time. #4
Comments
Hello Dave, Sorry for not being in the chat, im having a flu and some other problems right now. Will be in #gmpc later the day. |
don't do a vacuum on each startup, that is not going to speed things up. |
Ok, I removed the VACUUM, this speeds up GMPC startup time. GMPC startup time is back to 160ms. (yes it was a > 15x increase in startup time.) I think a 'cleanup' function that does it we trip periodically on shutdown would be nicer. |
Okay, thanks for testing this. Will commit it later. |
* master: Fixed indentation Replaced levenshtein functions in autohelp.c through the API Replaced get_next_word with g_strsplit in autohelp.c Updated readme a tad sahib#11 (??) Updated readme a tad sahib#10 (??) Updated readme a tad sahib#9 (??) Updated readme a tad sahib#8 (??) Updated readme a tad sahib#7 Updated readme a tad sahib#6 Updated readme a tad sahib#5 Updated readme a tad sahib#4 Updated readme a tad sahib#3 Updated readme a tad sahib#2 Updated readme a tad Removed silly swig stuff in types.h Conflicts: src/glyrc/autohelp.c
Starting GMPC (that uses glyr) it blocks for little over 2.5 seconds on glyr_db_init.
(compile gmpc with --enable-timings to see timestamps during startup).
-rw-r--r-- 1 qball qball 62M 2011-11-13 11:51 /home/qball/.cache/gmpc/metadata/metadata.db
The text was updated successfully, but these errors were encountered: