(test): reduce expected cache time-to-build (#1072)

Several performance improvements have vastly improved the cache build
time. We reduce it so CI catches any further degradation.
This commit is contained in:
Jethro Kuan
2020-08-27 13:23:58 +08:00
committed by GitHub
parent 6f0a38e64e
commit f8c8fcee6b

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 100))))
(expect time :to-be-less-than 70))))
(it "builds quickly without change"
(pcase (benchmark-run 1 (org-roam-db-build-cache))
(`(,time ,gcs ,time-in-gc)