Skip to content

Commit e1d0e47

Browse files
committed
adjust price level count to 100 in bench to avoid bad alloc as github actions provide limited resources
1 parent 93ec091 commit e1d0e47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/lob_microbenchmarks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using namespace raijin;
77
// Large capacity to ensure we are measuring raw matching speed, not pool/queue limits.
88
static BookConfig bench_config{
99
.order_pool_capacity = 2000000,
10-
.price_level_count = 10000,
10+
.price_level_count = 100,
1111
.level_queue_capacity = 1048576,
1212
.max_order_id = 4000000
1313
};

0 commit comments

Comments
 (0)