@@ -4,14 +4,8 @@ window.initAndRender = (function () {
4
4
// Random colours are generally pretty disgusting...
5
5
const MAP = {
6
6
"arrow" : '#58067e' ,
7
-
8
7
"parquet" : '#ef7f1d' ,
9
- "parquet (nvme)" : '#ef7f1d' ,
10
- "parquet (s3)" : '#f0b078' ,
11
-
12
8
"vortex-file-compressed" : '#23d100' ,
13
- "vortex-file-compressed (nvme)" : '#23d100' ,
14
- "vortex-file-compressed (s3)" : '#7ad169' ,
15
9
} ;
16
10
17
11
if ( MAP [ str ] ) {
@@ -39,7 +33,8 @@ window.initAndRender = (function () {
39
33
let groups = {
40
34
"Random Access" : new Map ( ) ,
41
35
"Compression" : new Map ( ) ,
42
- "TPC-H" : new Map ( ) ,
36
+ "TPC-H (NVME)" : new Map ( ) ,
37
+ "TPC-H (S3)" : new Map ( ) ,
43
38
"Clickbench" : new Map ( ) ,
44
39
} ;
45
40
@@ -71,9 +66,10 @@ window.initAndRender = (function () {
71
66
} else if ( name . includes ( "compress time/" ) ) {
72
67
group = groups [ "Compression" ] ;
73
68
} else if ( name . startsWith ( "tpch_q" ) ) {
74
- group = groups [ "TPC-H" ] ;
75
- if ( storage === undefined && ( name . includes ( "parquet" ) || name . includes ( "vortex" ) ) ) {
76
- storage = "nvme"
69
+ if ( storage === undefined || storage == "nvme" ) {
70
+ group = groups [ "TPC-H (NVME)" ] ;
71
+ } else {
72
+ group = groups [ "TPC-H (S3)" ] ;
77
73
}
78
74
} else if ( name . startsWith ( "clickbench" ) ) {
79
75
group = groups [ "Clickbench" ] ;
@@ -93,10 +89,6 @@ window.initAndRender = (function () {
93
89
q = q . replace ( "time" , "throughput" ) ;
94
90
}
95
91
96
- if ( storage !== undefined ) {
97
- seriesName += " (" + storage + ")"
98
- }
99
-
100
92
let prettyQ = q . replace ( "_" , " " )
101
93
. toUpperCase ( )
102
94
. replace ( "VORTEX:RAW SIZE" , "VORTEX COMPRESSION RATIO" ) ;
@@ -349,7 +341,8 @@ window.initAndRender = (function () {
349
341
}
350
342
351
343
function initAndRender ( keptGroups ) {
352
- let data = fetch ( 'https://vortex-benchmark-results-database.s3.amazonaws.com/data.json' )
344
+ // let data = fetch('https://vortex-benchmark-results-database.s3.amazonaws.com/data.json')
345
+ let data = fetch ( 'data.json' )
353
346
. then ( response => response . text ( ) )
354
347
. then ( parse_jsonl )
355
348
. catch ( error => console . error ( 'unable to load data.json:' , error ) ) ;
0 commit comments