Add the performance test

It takes ~12 seconds to complete the performance test on a 2023 MacBook Pro
with an Apple M2 Pro processor and 32G of RAM.
This commit is contained in:
Chris Hapgood
2024-06-06 17:01:14 -04:00
parent 92f61a3b69
commit 44aa7c8efd

View File

@@ -45,3 +45,8 @@
(difference #{month0} (difference #{month0}
#{week1} #{week1}
#{week2 week3})))) #{week2 week3}))))
(deftest performance
(is (= #{#st/local-date-range "2020-01-01/P4Y" #st/local-date-range "2024-01-05/P5Y11M27D"}
(difference #{#st/local-date-range "2020-01-01/P10Y"}
#{#st/local-date-range "2024-01-01/P4D"}))))