Skip to content

Commit

Permalink
Merge branch 'main' into feature_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyass authored Oct 16, 2024
2 parents f1d9329 + 86cd608 commit 74166ec
Show file tree
Hide file tree
Showing 46 changed files with 1,329 additions and 342 deletions.
54 changes: 18 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 13 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -351,18 +351,26 @@ useless_format = "allow"
mutable_key_type = "allow"
result_large_err = "allow"

## DONT'T DELETE THIS: If we want best performance, we should use this profile but it will take longer time to compile.
## Test SQL:
## select sum(number) from numbers_mt(10000000000); ~ 3x performance
## select max(number) from numbers_mt(10000000000); ~ 3x performance
# [profile.release]
# debug = 1
# lto = "thin"
# overflow-checks = false
# incremental = false
# codegen-units = 1

[profile.release]
debug = 1
lto = "thin"
overflow-checks = false
opt-level = "s" ## defaults to be 3
incremental = false
opt-level = "s"

# codegen-units = 1 # Reduce number of codegen units to increase optimizations.

# [profile.release.package]
# arrow2 = { codegen-units = 4 }
# common-functions = { codegen-units = 16 }
# databend-common-arrow = { codegen-units = 16 }
# databend-query = { codegen-units = 4 }
# databend-binaries = { codegen-units = 4 }

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ run-debug: build
run-debug-management: build
bash ./scripts/ci/deploy/databend-query-management-mode.sh

kill:
killall databend-query
killall databend-meta

build:
bash ./scripts/build/build-debug.sh

Expand Down
Loading

0 comments on commit 74166ec

Please sign in to comment.