;valuation: add functional test for #1439 slowdown

This commit is contained in:
Simon Michael 2021-01-04 15:42:33 -08:00
parent 5484c55053
commit 108b020f23

View File

@ -301,3 +301,26 @@ P 2020-11-03 B A 5
$ hledger -f- bal -N -e 2020-11-20 -X A
A 5 a
# 30. #1439 Lots of price edges like the below should not cause any slowdown.
<
2020-01-01
(a) 1A
P 2020-01-01 Z 1A
P 2020-01-01 A 10Y
P 2020-01-01 B 20Y
P 2020-01-01 C 30Y
P 2020-01-01 D 40Y
P 2020-01-01 E 50Y
P 2020-01-01 F 60Y
P 2020-01-01 G 70Y
P 2020-01-01 H 80Y
P 2020-01-01 I 90Y
P 2020-01-01 J 100Y
P 2020-01-01 K 120Y
P 2020-01-01 L 130Y
P 2020-01-01 M 140Y
$ hledger -f- bal -N -X Z
Z1 a