Skip to content

Commit 1f734ba

Browse files
authored
Merge pull request #301 from pmcgleenon/datafusion-44
2 parents 7324ad6 + 8455754 commit 1f734ba

File tree

5 files changed

+91
-91
lines changed

5 files changed

+91
-91
lines changed

datafusion/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The benchmark should be completed in under an hour. On-demand pricing is $0.6 pe
2020
1. `cd ClickBench/datafusion`
2121
1. `vi benchmark.sh` and modify following line to target Datafusion version
2222
```
23-
git checkout 43.0.0
23+
git checkout 44.0.0
2424
```
2525
1. `bash benchmark.sh`
2626

datafusion/benchmark.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sudo yum install gcc -y
1414
# Install DataFusion main branch
1515
git clone https://github.com/apache/arrow-datafusion.git
1616
cd arrow-datafusion/datafusion-cli
17-
git checkout 43.0.0
17+
git checkout 44.0.0
1818
CARGO_PROFILE_RELEASE_LTO=true RUSTFLAGS="-C codegen-units=1" cargo build --release
1919
export PATH="`pwd`/target/release:$PATH"
2020
cd ../..

datafusion/queries.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SELECT "SearchPhrase" FROM hits WHERE "SearchPhrase" <> '' ORDER BY to_timestamp
2626
SELECT "SearchPhrase" FROM hits WHERE "SearchPhrase" <> '' ORDER BY "SearchPhrase" LIMIT 10;
2727
SELECT "SearchPhrase" FROM hits WHERE "SearchPhrase" <> '' ORDER BY to_timestamp_seconds("EventTime"), "SearchPhrase" LIMIT 10;
2828
SELECT "CounterID", AVG(length("URL")) AS l, COUNT(*) AS c FROM hits WHERE "URL" <> '' GROUP BY "CounterID" HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25;
29-
SELECT REGEXP_REPLACE("Referer", '^https?://(?:www\.)?([^/]+)/.*$', '\1') AS k, AVG(length("Referer")) AS l, COUNT(*) AS c, MIN("Referer") FROM hits WHERE "Referer" <> '' GROUP BY k HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25;
29+
SELECT REGEXP_REPLACE("Referer", '^https?://(?:www\\.)?([^/]+)/.*$', '\\1') AS k, AVG(length("Referer")) AS l, COUNT(*) AS c, MIN("Referer") FROM hits WHERE "Referer" <> '' GROUP BY k HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25;
3030
SELECT SUM("ResolutionWidth"), SUM("ResolutionWidth" + 1), SUM("ResolutionWidth" + 2), SUM("ResolutionWidth" + 3), SUM("ResolutionWidth" + 4), SUM("ResolutionWidth" + 5), SUM("ResolutionWidth" + 6), SUM("ResolutionWidth" + 7), SUM("ResolutionWidth" + 8), SUM("ResolutionWidth" + 9), SUM("ResolutionWidth" + 10), SUM("ResolutionWidth" + 11), SUM("ResolutionWidth" + 12), SUM("ResolutionWidth" + 13), SUM("ResolutionWidth" + 14), SUM("ResolutionWidth" + 15), SUM("ResolutionWidth" + 16), SUM("ResolutionWidth" + 17), SUM("ResolutionWidth" + 18), SUM("ResolutionWidth" + 19), SUM("ResolutionWidth" + 20), SUM("ResolutionWidth" + 21), SUM("ResolutionWidth" + 22), SUM("ResolutionWidth" + 23), SUM("ResolutionWidth" + 24), SUM("ResolutionWidth" + 25), SUM("ResolutionWidth" + 26), SUM("ResolutionWidth" + 27), SUM("ResolutionWidth" + 28), SUM("ResolutionWidth" + 29), SUM("ResolutionWidth" + 30), SUM("ResolutionWidth" + 31), SUM("ResolutionWidth" + 32), SUM("ResolutionWidth" + 33), SUM("ResolutionWidth" + 34), SUM("ResolutionWidth" + 35), SUM("ResolutionWidth" + 36), SUM("ResolutionWidth" + 37), SUM("ResolutionWidth" + 38), SUM("ResolutionWidth" + 39), SUM("ResolutionWidth" + 40), SUM("ResolutionWidth" + 41), SUM("ResolutionWidth" + 42), SUM("ResolutionWidth" + 43), SUM("ResolutionWidth" + 44), SUM("ResolutionWidth" + 45), SUM("ResolutionWidth" + 46), SUM("ResolutionWidth" + 47), SUM("ResolutionWidth" + 48), SUM("ResolutionWidth" + 49), SUM("ResolutionWidth" + 50), SUM("ResolutionWidth" + 51), SUM("ResolutionWidth" + 52), SUM("ResolutionWidth" + 53), SUM("ResolutionWidth" + 54), SUM("ResolutionWidth" + 55), SUM("ResolutionWidth" + 56), SUM("ResolutionWidth" + 57), SUM("ResolutionWidth" + 58), SUM("ResolutionWidth" + 59), SUM("ResolutionWidth" + 60), SUM("ResolutionWidth" + 61), SUM("ResolutionWidth" + 62), SUM("ResolutionWidth" + 63), SUM("ResolutionWidth" + 64), SUM("ResolutionWidth" + 65), SUM("ResolutionWidth" + 66), SUM("ResolutionWidth" + 67), SUM("ResolutionWidth" + 68), SUM("ResolutionWidth" + 69), SUM("ResolutionWidth" + 70), SUM("ResolutionWidth" + 71), SUM("ResolutionWidth" + 72), SUM("ResolutionWidth" + 73), SUM("ResolutionWidth" + 74), SUM("ResolutionWidth" + 75), SUM("ResolutionWidth" + 76), SUM("ResolutionWidth" + 77), SUM("ResolutionWidth" + 78), SUM("ResolutionWidth" + 79), SUM("ResolutionWidth" + 80), SUM("ResolutionWidth" + 81), SUM("ResolutionWidth" + 82), SUM("ResolutionWidth" + 83), SUM("ResolutionWidth" + 84), SUM("ResolutionWidth" + 85), SUM("ResolutionWidth" + 86), SUM("ResolutionWidth" + 87), SUM("ResolutionWidth" + 88), SUM("ResolutionWidth" + 89) FROM hits;
3131
SELECT "SearchEngineID", "ClientIP", COUNT(*) AS c, SUM("IsRefresh"), AVG("ResolutionWidth") FROM hits WHERE "SearchPhrase" <> '' GROUP BY "SearchEngineID", "ClientIP" ORDER BY c DESC LIMIT 10;
3232
SELECT "WatchID", "ClientIP", COUNT(*) AS c, SUM("IsRefresh"), AVG("ResolutionWidth") FROM hits WHERE "SearchPhrase" <> '' GROUP BY "WatchID", "ClientIP" ORDER BY c DESC LIMIT 10;

datafusion/results/partitioned.json

+44-44
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,56 @@
33
"date": "2024-11-15",
44
"machine": "c6a.4xlarge, 500gb gp2",
55
"cluster_size": 1,
6-
"comment": "v43.0.0 (88f58bf)",
6+
"comment": "v44.0.0 (3cc3fca)",
77

88
"tags": ["Rust", "column-oriented", "embedded", "stateless"],
99

1010
"load_time": 0,
1111
"data_size": 14779976446,
1212

1313
"result": [
14-
[0.051, 0.019, 0.019],
15-
[0.091, 0.035, 0.035],
16-
[0.189, 0.085, 0.088],
17-
[0.383, 0.081, 0.077],
18-
[1.071, 0.811, 0.803],
19-
[0.944, 0.801, 0.805],
20-
[0.078, 0.030, 0.030],
21-
[0.103, 0.037, 0.037],
22-
[1.313, 1.205, 1.201],
23-
[1.357, 1.034, 1.025],
24-
[0.511, 0.255, 0.253],
25-
[0.634, 0.295, 0.301],
26-
[1.016, 0.856, 0.879],
27-
[2.615, 1.421, 1.374],
28-
[1.131, 0.931, 0.918],
29-
[1.051, 0.952, 0.958],
30-
[2.672, 2.031, 2.066],
31-
[2.592, 1.879, 1.887],
32-
[5.549, 4.226, 4.335],
33-
[0.254, 0.078, 0.075],
34-
[9.967, 1.098, 1.092],
35-
[11.248, 1.329, 1.327],
36-
[21.868, 2.820, 2.818],
37-
[55.458, 10.286, 10.609],
38-
[2.678, 0.488, 0.486],
39-
[0.802, 0.352, 0.354],
40-
[2.672, 0.507, 0.498],
41-
[9.614, 1.513, 1.507],
42-
[8.368, 3.394, 3.521],
43-
[0.535, 0.418, 0.439],
44-
[2.362, 0.854, 0.861],
45-
[5.957, 0.910, 0.914],
46-
[4.780, 3.806, 3.871],
47-
[10.168, 3.654, 3.586],
48-
[10.090, 3.645, 3.546],
49-
[1.775, 1.644, 1.660],
50-
[0.364, 0.199, 0.183],
51-
[0.183, 0.078, 0.075],
52-
[0.290, 0.128, 0.123],
53-
[0.619, 0.376, 0.376],
54-
[0.148, 0.053, 0.044],
55-
[0.142, 0.042, 0.042],
56-
[0.155, 0.065, 0.053]
14+
[0.061, 0.018, 0.018],
15+
[0.108, 0.036, 0.033],
16+
[0.188, 0.084, 0.085],
17+
[2.097, 0.078, 0.079],
18+
[2.648, 0.830, 0.817],
19+
[2.707, 0.802, 0.803],
20+
[0.081, 0.030, 0.029],
21+
[0.102, 0.037, 0.036],
22+
[2.493, 0.899, 0.910],
23+
[3.445, 1.039, 1.043],
24+
[2.078, 0.259, 0.244],
25+
[2.470, 0.295, 0.270],
26+
[2.916, 0.850, 0.858],
27+
[5.908, 1.347, 1.340],
28+
[2.918, 0.802, 0.810],
29+
[2.081, 0.961, 0.973],
30+
[5.740, 1.737, 1.739],
31+
[5.654, 1.632, 1.643],
32+
[10.074, 3.593, 3.575],
33+
[1.433, 0.072, 0.073],
34+
[20.760, 1.050, 1.078],
35+
[23.608, 1.293, 1.335],
36+
[45.123, 2.632, 2.540],
37+
[111.820, 9.779, 10.107],
38+
[6.605, 0.441, 0.437],
39+
[2.607, 0.355, 0.351],
40+
[6.611, 0.506, 0.516],
41+
[20.174, 1.486, 1.484],
42+
[17.954, 9.277, 9.326],
43+
[0.499, 0.416, 0.417],
44+
[5.743, 0.767, 0.780],
45+
[13.208, 0.924, 0.906],
46+
[10.116, 3.444, 3.523],
47+
[20.379, 3.615, 3.595],
48+
[20.457, 3.616, 3.621],
49+
[1.437, 1.192, 1.204],
50+
[0.327, 0.183, 0.182],
51+
[0.172, 0.076, 0.074],
52+
[0.250, 0.114, 0.111],
53+
[0.569, 0.338, 0.337],
54+
[0.154, 0.043, 0.045],
55+
[0.130, 0.040, 0.040],
56+
[0.137, 0.052, 0.053]
5757
]
5858
}

datafusion/results/single.json

+44-44
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,56 @@
33
"date": "2024-11-15",
44
"machine": "c6a.4xlarge, 500gb gp2",
55
"cluster_size": 1,
6-
"comment": "v43.0.0 (88f58bf)",
6+
"comment": "v44.0.0 (3cc3fca)",
77

88
"tags": ["Rust", "column-oriented", "embedded", "stateless"],
99

1010
"load_time": 0,
1111
"data_size": 14779976446,
1212

1313
"result": [
14-
[0.093, 0.055, 0.056],
15-
[0.138, 0.070, 0.070],
16-
[0.206, 0.120, 0.117],
17-
[0.346, 0.118, 0.114],
18-
[0.979, 0.867, 0.871],
19-
[1.030, 0.902, 0.904],
20-
[0.125, 0.064, 0.077],
21-
[0.143, 0.083, 0.078],
22-
[1.304, 1.169, 1.240],
23-
[1.533, 1.104, 1.100],
24-
[0.475, 0.272, 0.278],
25-
[0.562, 0.309, 0.315],
26-
[1.165, 0.931, 0.965],
27-
[2.643, 1.402, 1.490],
28-
[1.143, 0.997, 0.983],
29-
[1.106, 0.991, 0.993],
30-
[2.727, 2.161, 2.098],
31-
[2.578, 1.954, 1.947],
32-
[5.530, 4.311, 4.253],
33-
[0.319, 0.105, 0.107],
34-
[9.732, 1.155, 1.149],
35-
[11.337, 1.468, 1.407],
36-
[22.055, 3.678, 3.663],
37-
[55.942, 10.017, 10.014],
38-
[2.561, 0.557, 0.577],
39-
[0.809, 0.510, 0.519],
40-
[2.579, 0.634, 0.620],
41-
[9.630, 1.618, 1.655],
42-
[8.645, 3.565, 3.699],
43-
[0.584, 0.493, 0.485],
44-
[2.285, 0.978, 0.991],
45-
[5.690, 1.046, 1.006],
46-
[4.468, 3.833, 3.885],
47-
[10.123, 3.663, 3.654],
48-
[10.114, 3.672, 3.685],
49-
[1.743, 1.597, 1.659],
50-
[0.389, 0.242, 0.230],
51-
[0.266, 0.155, 0.170],
52-
[0.369, 0.161, 0.180],
53-
[0.659, 0.446, 0.416],
54-
[0.190, 0.084, 0.085],
55-
[0.177, 0.078, 0.079],
56-
[0.164, 0.103, 0.088]
14+
[0.094, 0.065, 0.057],
15+
[0.143, 0.070, 0.071],
16+
[0.220, 0.120, 0.114],
17+
[1.794, 0.118, 0.117],
18+
[2.429, 0.883, 0.860],
19+
[2.616, 0.907, 0.906],
20+
[0.119, 0.077, 0.065],
21+
[0.136, 0.082, 0.083],
22+
[2.404, 0.953, 0.932],
23+
[3.222, 1.093, 1.099],
24+
[1.920, 0.278, 0.268],
25+
[2.293, 0.312, 0.310],
26+
[2.759, 0.932, 0.939],
27+
[5.665, 1.363, 1.361],
28+
[2.813, 0.895, 0.886],
29+
[1.992, 0.982, 1.004],
30+
[5.626, 1.856, 1.870],
31+
[5.548, 1.707, 1.715],
32+
[9.787, 3.610, 3.623],
33+
[1.394, 0.109, 0.107],
34+
[20.622, 1.145, 1.168],
35+
[23.507, 1.449, 1.522],
36+
[45.338, 3.505, 3.571],
37+
[112.371, 10.242, 10.180],
38+
[6.294, 0.574, 0.555],
39+
[2.560, 0.509, 0.522],
40+
[6.269, 0.628, 0.646],
41+
[20.105, 1.590, 1.599],
42+
[19.270, 10.050, 9.949],
43+
[0.530, 0.458, 0.445],
44+
[5.463, 0.914, 0.895],
45+
[12.601, 1.037, 0.996],
46+
[9.671, 3.516, 3.500],
47+
[20.402, 3.748, 3.752],
48+
[20.388, 3.791, 3.799],
49+
[1.392, 1.247, 1.227],
50+
[0.389, 0.231, 0.229],
51+
[0.237, 0.154, 0.160],
52+
[0.312, 0.164, 0.160],
53+
[0.600, 0.418, 0.394],
54+
[0.181, 0.083, 0.081],
55+
[0.163, 0.077, 0.080],
56+
[0.182, 0.087, 0.121]
5757
]
5858
}

0 commit comments

Comments
 (0)