Pass ExecutionCtx through the compressor#7578
Conversation
2936f93 to
b714ecb
Compare
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
b714ecb to
d97dfbd
Compare
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Polar Signals Profiling ResultsLatest Run
Powered by Polar Signals Cloud |
Benchmarks: PolarSignals ProfilingVortex (geomean): 0.975x ➖ datafusion / vortex-file-compressed (0.975x ➖, 0↑ 0↓)
|
File Sizes: PolarSignals ProfilingNo file size changes detected. |
Benchmarks: FineWeb NVMeVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (1.016x ➖, 0↑ 0↓)
datafusion / vortex-compact (1.006x ➖, 0↑ 1↓)
datafusion / parquet (0.976x ➖, 1↑ 0↓)
duckdb / vortex-file-compressed (0.992x ➖, 0↑ 0↓)
duckdb / vortex-compact (0.966x ➖, 1↑ 0↓)
duckdb / parquet (0.969x ➖, 1↑ 0↓)
Full attributed analysis
|
File Sizes: FineWeb NVMeNo file size changes detected. |
Benchmarks: TPC-H SF=1 on NVMEVerdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (1.121x ❌, 0↑ 17↓)
datafusion / vortex-compact (1.120x ❌, 0↑ 19↓)
datafusion / parquet (1.049x ➖, 2↑ 5↓)
datafusion / arrow (1.121x ❌, 0↑ 13↓)
duckdb / vortex-file-compressed (1.112x ❌, 0↑ 14↓)
duckdb / vortex-compact (1.109x ❌, 0↑ 13↓)
duckdb / parquet (1.048x ➖, 1↑ 3↓)
duckdb / duckdb (1.092x ➖, 0↑ 10↓)
Full attributed analysis
|
File Sizes: TPC-H SF=1 on NVMENo file size changes detected. |
Benchmarks: TPC-DS SF=1 on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (1.005x ➖, 0↑ 0↓)
datafusion / vortex-compact (1.014x ➖, 0↑ 2↓)
datafusion / parquet (1.023x ➖, 0↑ 6↓)
duckdb / vortex-file-compressed (1.011x ➖, 2↑ 1↓)
duckdb / vortex-compact (1.031x ➖, 1↑ 6↓)
duckdb / parquet (1.019x ➖, 0↑ 3↓)
duckdb / duckdb (1.027x ➖, 0↑ 12↓)
Full attributed analysis
|
File Sizes: TPC-DS SF=1 on NVMENo file size changes detected. |
Benchmarks: FineWeb S3Verdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (0.962x ➖, 0↑ 0↓)
datafusion / vortex-compact (0.919x ➖, 1↑ 0↓)
datafusion / parquet (0.971x ➖, 0↑ 0↓)
duckdb / vortex-file-compressed (1.010x ➖, 0↑ 0↓)
duckdb / vortex-compact (0.991x ➖, 0↑ 0↓)
duckdb / parquet (0.976x ➖, 0↑ 0↓)
Full attributed analysis
|
Benchmarks: Random AccessVortex (geomean): 0.961x ➖ unknown / unknown (0.989x ➖, 2↑ 1↓)
|
Benchmarks: TPC-H SF=10 on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (1.009x ➖, 0↑ 0↓)
datafusion / vortex-compact (1.012x ➖, 0↑ 0↓)
datafusion / parquet (1.008x ➖, 0↑ 0↓)
datafusion / arrow (1.015x ➖, 0↑ 0↓)
duckdb / vortex-file-compressed (1.009x ➖, 0↑ 0↓)
duckdb / vortex-compact (1.008x ➖, 0↑ 0↓)
duckdb / parquet (1.011x ➖, 0↑ 1↓)
duckdb / duckdb (1.005x ➖, 0↑ 0↓)
Full attributed analysis
|
File Sizes: TPC-H SF=10 on NVMENo file size changes detected. |
Benchmarks: Statistical and Population GeneticsVerdict: No clear signal (low confidence) duckdb / vortex-file-compressed (0.977x ➖, 1↑ 0↓)
duckdb / vortex-compact (1.023x ➖, 0↑ 0↓)
duckdb / parquet (0.997x ➖, 0↑ 0↓)
Full attributed analysis
|
File Sizes: Statistical and Population GeneticsNo file size changes detected. |
Benchmarks: TPC-H SF=1 on S3Verdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (0.927x ➖, 0↑ 0↓)
datafusion / vortex-compact (1.096x ➖, 0↑ 3↓)
datafusion / parquet (0.949x ➖, 1↑ 0↓)
duckdb / vortex-file-compressed (1.008x ➖, 0↑ 0↓)
duckdb / vortex-compact (0.937x ➖, 0↑ 0↓)
duckdb / parquet (0.982x ➖, 0↑ 0↓)
Full attributed analysis
|
Benchmarks: Clickbench on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (0.919x ➖, 14↑ 0↓)
datafusion / parquet (0.974x ➖, 2↑ 0↓)
duckdb / vortex-file-compressed (0.981x ➖, 1↑ 0↓)
duckdb / parquet (0.997x ➖, 1↑ 0↓)
duckdb / duckdb (0.975x ➖, 4↑ 0↓)
Full attributed analysis
|
File Sizes: Clickbench on NVMEFile Size Changes (1 files changed, -0.0% overall, 0↑ 1↓)
Totals:
|
Benchmarks: CompressionVortex (geomean): 0.921x ➖ unknown / unknown (0.928x ➖, 22↑ 2↓)
|
Benchmarks: TPC-H SF=10 on S3Verdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (0.968x ➖, 0↑ 1↓)
datafusion / vortex-compact (1.063x ➖, 0↑ 2↓)
datafusion / parquet (0.946x ➖, 0↑ 1↓)
duckdb / vortex-file-compressed (1.056x ➖, 0↑ 0↓)
duckdb / vortex-compact (1.028x ➖, 0↑ 0↓)
duckdb / parquet (0.980x ➖, 0↑ 0↓)
Full attributed analysis
|
Summary
Tracking issue: #7216
In order to have a "less breaking change" before, I just put an execution context in an arc'd mutex in the compressor itself. This is really stupid, and the caller should pass an execution context whenever they want to compress something (because we need to look at buffers to canonicalize and do compute in the compressor).
Testing
N/A since this is just moving where things are coming from.