From f8c8fcee6b44fecfa0b4d1f32eb351e0aa93008b Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Thu, 27 Aug 2020 13:23:58 +0800 Subject: [PATCH] (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. --- tests/test-org-roam-perf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-org-roam-perf.el b/tests/test-org-roam-perf.el index fb12f1b..d9ffa13 100644 --- a/tests/test-org-roam-perf.el +++ b/tests/test-org-roam-perf.el @@ -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)