@@ -3,12 +3,9 @@ window.initAndRender = (function () {
3
3
function stringToColor ( str ) {
4
4
// Random colours are generally pretty disgusting...
5
5
const MAP = {
6
- "vortex-file-uncompressed" : '#98da8d' ,
7
- "vortex-file-compressed" : '#23d100' ,
8
- "vortex-in-memory-no-pushdown" : '#79a6df' ,
9
- "vortex-in-memory-pushdown" : '#0c53ae' ,
10
6
"arrow" : '#58067e' ,
11
7
"parquet" : '#ef7f1d' ,
8
+ "vortex-file-compressed" : '#23d100' ,
12
9
} ;
13
10
14
11
if ( MAP [ str ] ) {
@@ -36,7 +33,8 @@ window.initAndRender = (function () {
36
33
let groups = {
37
34
"Random Access" : new Map ( ) ,
38
35
"Compression" : new Map ( ) ,
39
- "TPC-H" : new Map ( ) ,
36
+ "TPC-H (NVME)" : new Map ( ) ,
37
+ "TPC-H (S3)" : new Map ( ) ,
40
38
"Clickbench" : new Map ( ) ,
41
39
} ;
42
40
@@ -60,21 +58,27 @@ window.initAndRender = (function () {
60
58
}
61
59
62
60
let { name, unit, value, commit} = benchmark_result ;
61
+ let storage = benchmark_result . storage ;
63
62
let group = undefined ;
64
63
65
64
if ( name . startsWith ( "random-access/" ) ) {
66
65
group = groups [ "Random Access" ] ;
67
66
} else if ( name . includes ( "compress time/" ) ) {
68
67
group = groups [ "Compression" ] ;
69
68
} else if ( name . startsWith ( "tpch_q" ) ) {
70
- group = groups [ "TPC-H" ] ;
69
+ if ( storage === undefined || storage == "nvme" ) {
70
+ group = groups [ "TPC-H (NVME)" ] ;
71
+ } else {
72
+ group = groups [ "TPC-H (S3)" ] ;
73
+ }
71
74
} else if ( name . startsWith ( "clickbench" ) ) {
72
75
group = groups [ "Clickbench" ] ;
73
76
} else {
74
77
uncategorizable_names . add ( name )
75
78
continue
76
79
}
77
80
81
+
78
82
// Normalize name and units
79
83
let [ q , seriesName ] = name . split ( "/" ) ;
80
84
if ( seriesName . endsWith ( " throughput" ) ) {
@@ -84,6 +88,7 @@ window.initAndRender = (function () {
84
88
seriesName = seriesName . slice ( 0 , seriesName . length - "throughput" . length ) ;
85
89
q = q . replace ( "time" , "throughput" ) ;
86
90
}
91
+
87
92
let prettyQ = q . replace ( "_" , " " )
88
93
. toUpperCase ( )
89
94
. replace ( "VORTEX:RAW SIZE" , "VORTEX COMPRESSION RATIO" ) ;
@@ -336,7 +341,8 @@ window.initAndRender = (function () {
336
341
}
337
342
338
343
function initAndRender ( keptGroups ) {
339
- 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' )
340
346
. then ( response => response . text ( ) )
341
347
. then ( parse_jsonl )
342
348
. catch ( error => console . error ( 'unable to load data.json:' , error ) ) ;
0 commit comments