@@ -285,7 +285,6 @@ concurrent-queue = "2.5.0"
285
285
convert_case = " 0.6.0"
286
286
cookie = " 0.18.1"
287
287
crc32fast = " 1.3.2"
288
- criterion = " 0.5"
289
288
cron = " 0.12.0"
290
289
crossbeam-channel = " 0.5.6"
291
290
csv-core = " 0.1.11"
@@ -298,6 +297,7 @@ deltalake = "0.25"
298
297
derive-visitor = { version = " 0.4.0" , features = [" std-types-drive" ] }
299
298
derive_more = { version = " 1.0.0" , features = [" full" ] }
300
299
display-more = { version = " 0.1.0" }
300
+ divan = " 0.1.21"
301
301
dtparse = { git = " https://github.com/datafuse-extras/dtparse.git" , rev = " 30e28ca" }
302
302
dyn-clone = " 1.0.9"
303
303
educe = { version = " 1.0.0" , features = [" default" , " full" ], package = " databend_educe" }
@@ -579,23 +579,17 @@ mutable_key_type = "allow"
579
579
result_large_err = " allow"
580
580
map_entry = " allow"
581
581
582
- # # DONT'T DELETE THIS: If we want best performance, we should use this profile but it will take longer time to compile.
583
- # # Test SQL:
584
- # # select sum(number) from numbers_mt(10000000000); ~ 3x performance
585
- # # select max(number) from numbers_mt(10000000000); ~ 3x performance
586
- # [profile.release]
587
- # debug = 1
588
- # lto = "thin"
589
- # overflow-checks = false
590
- # incremental = false
591
- # codegen-units = 1
592
-
593
582
[profile .release ]
594
583
debug = 1
595
584
lto = " thin"
596
585
overflow-checks = false
597
586
opt-level = " s" # defaults to be 3
598
587
incremental = true
588
+ codegen-units = 1 # # better performance see below comment
589
+ # # DONT'T DELETE THIS: If we want best performance, we should use this profile but it will take longer time to compile.
590
+ # # Test SQL:
591
+ # # select sum(number) from numbers_mt(10000000000); ~ 3x performance
592
+ # # select max(number) from numbers_mt(10000000000); ~ 3x performance
599
593
600
594
[profile .ci ]
601
595
inherits = " release"
@@ -625,6 +619,7 @@ databend-common-exception = { opt-level = 3 }
625
619
[profile .bench ]
626
620
debug = true
627
621
overflow-checks = false
622
+ debug-assertions = true
628
623
629
624
[profile .test ]
630
625
opt-level = 0
0 commit comments