Skip to content

Commit

Permalink
(test): reduce expected cache time-to-build (org-roam#1072)
Browse files Browse the repository at this point in the history
Several performance improvements have vastly improved the cache build
time. We reduce it so CI catches any further degradation.
  • Loading branch information
jethrokuan authored Aug 27, 2020
1 parent 6f0a38e commit f8c8fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-org-roam-perf.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8c8fce

Please sign in to comment.