When I want to import mmf file of recipes, it takes very long. It is roughly one recipe per second. I had imported some 14k recipes and it took whole night. Also deleting recipes takes ages. Deleting some 10 of them can take whole minute. I use SQLite as database. I spotted, that during import only one thread is used which in todays time of multicores and hyper threading is waste of time. Could you please work on some improvements? Reproducible: Always
You can download databases for import for testing here: http://www.ffts.com/recipes.htm
Git commit aea810e290ce605c0255aea56c9652744a8244ae by José Manuel Santamaría Lema. Committed on 26/02/2016 at 12:38. Pushed by joselema into branch 'master'. Use transactions when exporting recipes. This reduces a lot the time to get a large number of recipes into the database. M +18 -3 src/backends/qsqlrecipedb.cpp M +4 -0 src/backends/qsqlrecipedb.h M +5 -0 src/backends/recipedb.h M +12 -0 src/importers/baseimporter.cpp http://commits.kde.org/krecipes/aea810e290ce605c0255aea56c9652744a8244ae