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:
@@ -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"}))))
|
||||||
|
|||||||
Reference in New Issue
Block a user