(tests): increase perf test threshold (#887)

Things take more time to run now that we are also caching headline hierarchies.
This commit is contained in:
Jethro Kuan 2020-07-05 17:36:44 +08:00 committed by GitHub
parent 3a1c826aa0
commit 0830da4504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@
(pcase (benchmark-run 1 (org-roam-db-build-cache t))
(`(,time ,gcs ,time-in-gc)
(message "Elapsed time: %fs (%fs in %d GCs)" time time-in-gc gcs)
(expect time :to-be-less-than 90))))
(expect time :to-be-less-than 100))))
(it "builds quickly without change"
(pcase (benchmark-run 1 (org-roam-db-build-cache))
(`(,time ,gcs ,time-in-gc)