Skip to content

Commit 99658ca

Browse files
committed
Fix benchmark case name.
1 parent 9643eab commit 99658ca

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

sql/core/benchmarks/SubExprEliminationBenchmark-jdk11-results.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ OpenJDK 64-Bit Server VM 11.0.9+11 on Mac OS X 10.15.6
77
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
88
from_json as subExpr in Project: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
99
------------------------------------------------------------------------------------------------------------------------
10-
subExprElimination false, codegen: true 24827 25398 562 0.0 248271027.2 1.0X
11-
subExprElimination false, codegen: false 25052 25704 625 0.0 250518603.6 1.0X
12-
subExprElimination true, codegen: true 1540 1606 92 0.0 15403083.7 16.1X
13-
subExprElimination true, codegen: false 1487 1535 53 0.0 14865051.6 16.7X
10+
subExprElimination false, codegen: true 22482 23194 652 0.0 224817884.1 1.0X
11+
subExprElimination false, codegen: false 22544 22658 155 0.0 225436869.9 1.0X
12+
subExprElimination true, codegen: true 1371 1403 34 0.0 13710714.3 16.4X
13+
subExprElimination true, codegen: false 1295 1317 20 0.0 12949824.3 17.4X
1414

1515
Preparing data for benchmarking ...
1616
OpenJDK 64-Bit Server VM 11.0.9+11 on Mac OS X 10.15.6
1717
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
1818
from_json as subExpr in Filter: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
1919
------------------------------------------------------------------------------------------------------------------------
20-
subexpressionElimination off, codegen on 37327 38261 809 0.0 373266387.0 1.0X
21-
subexpressionElimination off, codegen on 36126 37445 1575 0.0 361263987.0 1.0X
22-
subexpressionElimination off, codegen on 20152 21596 1263 0.0 201522903.8 1.9X
23-
subexpressionElimination off, codegen on 20799 20940 233 0.0 207993923.0 1.8X
20+
subExprElimination false, codegen: true 34976 35331 326 0.0 349759975.5 1.0X
21+
subExprElimination false, codegen: false 34101 34802 607 0.0 341014685.7 1.0X
22+
subExprElimination true, codegen: true 19440 19622 272 0.0 194402251.0 1.8X
23+
subExprElimination true, codegen: false 19247 20064 719 0.0 192466667.6 1.8X
2424

2525

sql/core/benchmarks/SubExprEliminationBenchmark-results.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ OpenJDK 64-Bit Server VM 1.8.0_265-b01 on Mac OS X 10.15.6
77
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
88
from_json as subExpr in Project: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
99
------------------------------------------------------------------------------------------------------------------------
10-
subExprElimination false, codegen: true 23094 23763 585 0.0 230939301.2 1.0X
11-
subExprElimination false, codegen: false 23161 24087 844 0.0 231611379.8 1.0X
12-
subExprElimination true, codegen: true 1492 1517 30 0.0 14921022.9 15.5X
13-
subExprElimination true, codegen: false 1300 1361 93 0.0 12996167.7 17.8X
10+
subExprElimination false, codegen: true 25399 25869 466 0.0 253992369.6 1.0X
11+
subExprElimination false, codegen: false 24086 25094 888 0.0 240858699.5 1.1X
12+
subExprElimination true, codegen: true 1527 1600 64 0.0 15274388.8 16.6X
13+
subExprElimination true, codegen: false 1560 1600 52 0.0 15597825.4 16.3X
1414

1515
Preparing data for benchmarking ...
1616
OpenJDK 64-Bit Server VM 1.8.0_265-b01 on Mac OS X 10.15.6
1717
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
1818
from_json as subExpr in Filter: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
1919
------------------------------------------------------------------------------------------------------------------------
20-
subexpressionElimination off, codegen on 37069 37767 985 0.0 370694301.5 1.0X
21-
subexpressionElimination off, codegen on 37095 37970 1008 0.0 370945081.6 1.0X
22-
subexpressionElimination off, codegen on 20618 21443 715 0.0 206175173.8 1.8X
23-
subexpressionElimination off, codegen on 21563 21887 307 0.0 215626274.7 1.7X
20+
subExprElimination false, codegen: true 39661 40585 844 0.0 396612867.5 1.0X
21+
subExprElimination false, codegen: false 40633 48813 1858 0.0 406328241.3 1.0X
22+
subExprElimination true, codegen: true 25819 27096 1174 0.0 258194064.4 1.5X
23+
subExprElimination true, codegen: false 23467 25137 1447 0.0 234668398.2 1.7X
2424

2525

sql/core/src/test/scala/org/apache/spark/sql/execution/SubExprEliminationBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ object SubExprEliminationBenchmark extends SqlBasedBenchmark {
100100
// We only benchmark subexpression performance under codegen/non-codegen, so disabling
101101
// json optimization.
102102
val caseName = s"subExprElimination $subExprEliminationEnabled, codegen: $codegenEnabled"
103-
benchmark.addCase("subexpressionElimination off, codegen on", numIters) { _ =>
103+
benchmark.addCase(caseName, numIters) { _ =>
104104
withSQLConf(
105105
SQLConf.SUBEXPRESSION_ELIMINATION_ENABLED.key -> subExprEliminationEnabled,
106106
SQLConf.WHOLESTAGE_CODEGEN_ENABLED.key -> codegenEnabled,

0 commit comments

Comments
 (0)