Skip to content

Commit 22449d1

Browse files
authored
Add missing images in benchmarks readme (#12)
1 parent a781582 commit 22449d1

10 files changed

+326
-1
lines changed

benchmarks/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ A message will show the location of the Gatling report:
144144
Reports generated in: ./benchmarks/build/reports/gatling/<simulation-name>/index.html
145145
```
146146

147+
![Sample Gatling report](docs/gatling-report.png)
148+
147149
### Example Polaris server startup
148150

149151
For repeated testing and benchmarking purposes it's convenient to have fixed client-ID + client-secret combinations. **The following example is ONLY for testing and benchmarking against an airgapped Polaris instance**
@@ -252,4 +254,4 @@ The diagram below shows sample catalog, namespace and table definition given the
252254
- Number of columns per table: `999`
253255
- Number of table properties: `59`
254256

255-
![Dataset size example showing catalog, namespace, and table definitions](docs/dataset-size.png)
257+
![Dataset size example showing catalog, namespace, and table definitions](docs/dataset-size.svg)
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/'
2+
' Licensed to the Apache Software Foundation (ASF) under one
3+
' or more contributor license agreements. See the NOTICE file
4+
' distributed with this work for additional information
5+
' regarding copyright ownership. The ASF licenses this file
6+
' to you under the Apache License, Version 2.0 (the
7+
' "License"); you may not use this file except in compliance
8+
' with the License. You may obtain a copy of the License at
9+
'
10+
' http://www.apache.org/licenses/LICENSE-2.0
11+
'
12+
' Unless required by applicable law or agreed to in writing,
13+
' software distributed under the License is distributed on an
14+
' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
' KIND, either express or implied. See the License for the
16+
' specific language governing permissions and limitations
17+
' under the License.
18+
'/
19+
@startuml
20+
21+
rectangle Realm
22+
rectangle "C 0" as C0 #AntiqueWhite
23+
Realm -- C0
24+
25+
rectangle "NS 0" as Ns0 #Lavender
26+
C0 -- Ns0
27+
28+
rectangle "NS 1" as Ns1 #Lavender
29+
Ns0 -- Ns1
30+
31+
rectangle "NS 2" as Ns2 #Lavender
32+
Ns1 -- Ns2
33+
34+
rectangle "..." as Ns3 #Lavender
35+
Ns2 -[dotted]- Ns3
36+
37+
rectangle "NS 999" as Ns999 #Lavender
38+
Ns3 -[dotted]- Ns999
39+
40+
rectangle "T 0" as T0 #LightCyan
41+
rectangle "T 1" as T1 #LightCyan
42+
rectangle "T 2" as T2 #LightCyan
43+
rectangle "T 3" as T3 #LightCyan
44+
rectangle "T 4" as T4 #LightCyan
45+
rectangle "T 5" as T5 #LightCyan
46+
rectangle "T 6" as T6 #LightCyan
47+
Ns999 -- T0
48+
Ns999 -- T1
49+
Ns999 -- T2
50+
Ns999 -- T3
51+
Ns999 -- T4
52+
Ns999 -- T5
53+
Ns999 -- T6
54+
55+
rectangle "V 0" as V0 #FloralWhite
56+
rectangle "V 1" as V1 #FloralWhite
57+
rectangle "V 2" as V2 #FloralWhite
58+
rectangle "V 3" as V3 #FloralWhite
59+
T0 -- V0
60+
T1 -- V1
61+
T2 -- V2
62+
T3 -- V3
63+
64+
@enduml
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/'
2+
' Licensed to the Apache Software Foundation (ASF) under one
3+
' or more contributor license agreements. See the NOTICE file
4+
' distributed with this work for additional information
5+
' regarding copyright ownership. The ASF licenses this file
6+
' to you under the Apache License, Version 2.0 (the
7+
' "License"); you may not use this file except in compliance
8+
' with the License. You may obtain a copy of the License at
9+
'
10+
' http://www.apache.org/licenses/LICENSE-2.0
11+
'
12+
' Unless required by applicable law or agreed to in writing,
13+
' software distributed under the License is distributed on an
14+
' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
' KIND, either express or implied. See the License for the
16+
' specific language governing permissions and limitations
17+
' under the License.
18+
'/
19+
@startuml
20+
skinparam linetype polyline
21+
22+
rectangle Realm
23+
rectangle "C 0" as C0 #AntiqueWhite
24+
Realm -- C0
25+
26+
rectangle "NS 0" as Ns0 #Lavender
27+
C0 -- Ns0
28+
29+
rectangle "NS 1" as Ns1 #Lavender
30+
rectangle "NS 2" as Ns2 #Lavender
31+
rectangle "NS 3" as Ns3 #Lavender
32+
rectangle "NS 4" as Ns4 #Lavender
33+
rectangle "NS 5" as Ns5 #Lavender
34+
rectangle "NS 6" as Ns6 #Lavender
35+
rectangle "NS 7" as Ns7 #Lavender
36+
rectangle "NS 8" as Ns8 #Lavender
37+
rectangle "NS 9" as Ns9 #Lavender
38+
rectangle "NS 10" as Ns10 #Lavender
39+
Ns0 -- Ns1
40+
Ns0 -- Ns2
41+
Ns0 -- Ns3
42+
Ns0 -- Ns4
43+
Ns0 -- Ns5
44+
Ns0 -- Ns6
45+
Ns0 -- Ns7
46+
Ns0 -- Ns8
47+
Ns0 -- Ns9
48+
Ns0 -- Ns10
49+
50+
rectangle "T 0" as T0 #LightCyan
51+
rectangle "T 1" as T1 #LightCyan
52+
rectangle "T 2" as T2 #LightCyan
53+
rectangle "..." as T2n #LightCyan
54+
rectangle "..." as T3n #LightCyan
55+
rectangle "..." as T4n #LightCyan
56+
rectangle "..." as T5n #LightCyan
57+
rectangle "..." as T6n #LightCyan
58+
rectangle "..." as T7n #LightCyan
59+
rectangle "..." as T8n #LightCyan
60+
rectangle "..." as T9n #LightCyan
61+
rectangle "T 27" as T27 #LightCyan
62+
rectangle "T 28" as T28 #LightCyan
63+
rectangle "T 29" as T29 #LightCyan
64+
Ns1 -- T0
65+
Ns1 -- T1
66+
Ns1 -- T2
67+
Ns2 -[dotted]- T2n
68+
Ns3 -[dotted]- T3n
69+
Ns4 -[dotted]- T4n
70+
Ns5 -[dotted]- T5n
71+
Ns6 -[dotted]- T6n
72+
Ns7 -[dotted]- T7n
73+
Ns8 -[dotted]- T8n
74+
Ns9 -[dotted]- T9n
75+
Ns10 -- T27
76+
Ns10 -- T28
77+
Ns10 -- T29
78+
79+
rectangle "V 0" as V0 #FloralWhite
80+
rectangle "V 1" as V1 #FloralWhite
81+
rectangle "V 2" as V2 #FloralWhite
82+
rectangle "..." as V2n #FloralWhite
83+
rectangle "..." as V3n #FloralWhite
84+
rectangle "..." as V4n #FloralWhite
85+
rectangle "..." as V5n #FloralWhite
86+
rectangle "..." as V6n #FloralWhite
87+
rectangle "..." as V7n #FloralWhite
88+
rectangle "..." as V8n #FloralWhite
89+
rectangle "..." as V9n #FloralWhite
90+
rectangle "V 27" as V27 #FloralWhite
91+
rectangle "V 28" as V28 #FloralWhite
92+
rectangle "V 29" as V29 #FloralWhite
93+
T0 -- V0
94+
T1 -- V1
95+
T2 -- V2
96+
T2n -[dotted]- V2n
97+
T3n -[dotted]- V3n
98+
T4n -[dotted]- V4n
99+
T5n -[dotted]- V5n
100+
T6n -[dotted]- V6n
101+
T7n -[dotted]- V7n
102+
T8n -[dotted]- V8n
103+
T9n -[dotted]- V9n
104+
T27 -- V27
105+
T28 -- V28
106+
T29 -- V29
107+
108+
@enduml

benchmarks/docs/dataset-shape-10-2-3.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/'
2+
' Licensed to the Apache Software Foundation (ASF) under one
3+
' or more contributor license agreements. See the NOTICE file
4+
' distributed with this work for additional information
5+
' regarding copyright ownership. The ASF licenses this file
6+
' to you under the Apache License, Version 2.0 (the
7+
' "License"); you may not use this file except in compliance
8+
' with the License. You may obtain a copy of the License at
9+
'
10+
' http://www.apache.org/licenses/LICENSE-2.0
11+
'
12+
' Unless required by applicable law or agreed to in writing,
13+
' software distributed under the License is distributed on an
14+
' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
' KIND, either express or implied. See the License for the
16+
' specific language governing permissions and limitations
17+
' under the License.
18+
'/
19+
@startuml
20+
21+
rectangle Realm
22+
rectangle "C 0" as C0 #AntiqueWhite
23+
rectangle "C 1" as C1 #AntiqueWhite
24+
rectangle "C 2" as C2 #AntiqueWhite
25+
Realm -- C0
26+
Realm -- C1
27+
Realm -- C2
28+
29+
rectangle "NS 0" as Ns0 #Lavender
30+
C0 -- Ns0
31+
32+
rectangle "NS 1" as Ns1 #Lavender
33+
rectangle "NS 2" as Ns2 #Lavender
34+
Ns0 -- Ns1
35+
Ns0 -- Ns2
36+
37+
rectangle "NS 3" as Ns3 #Lavender
38+
rectangle "NS 4" as Ns4 #Lavender
39+
rectangle "NS 5" as Ns5 #Lavender
40+
rectangle "NS 6" as Ns6 #Lavender
41+
Ns1 -- Ns3
42+
Ns1 -- Ns4
43+
Ns2 -- Ns5
44+
Ns2 -- Ns6
45+
46+
rectangle "T 0" as T0 #LightCyan
47+
rectangle "T 1" as T1 #LightCyan
48+
rectangle "T 2" as T2 #LightCyan
49+
rectangle "T 3" as T3 #LightCyan
50+
rectangle "T 4" as T4 #LightCyan
51+
rectangle "..." as T5n #LightCyan
52+
rectangle "..." as T6n #LightCyan
53+
rectangle "T 15" as T15 #LightCyan
54+
rectangle "T 16" as T16 #LightCyan
55+
rectangle "T 17" as T17 #LightCyan
56+
rectangle "T 18" as T18 #LightCyan
57+
rectangle "T 19" as T19 #LightCyan
58+
Ns3 -- T0
59+
Ns3 -- T1
60+
Ns3 -- T2
61+
Ns3 -- T3
62+
Ns3 -- T4
63+
Ns4 -[dotted]- T5n
64+
Ns5 -[dotted]- T6n
65+
Ns6 -- T15
66+
Ns6 -- T16
67+
Ns6 -- T17
68+
Ns6 -- T18
69+
Ns6 -- T19
70+
71+
rectangle "V 0" as V0 #FloralWhite
72+
rectangle "V 1" as V1 #FloralWhite
73+
rectangle "V 2" as V2 #FloralWhite
74+
rectangle "..." as V5n #FloralWhite
75+
rectangle "..." as V6n #FloralWhite
76+
rectangle "V 15" as V15 #FloralWhite
77+
rectangle "V 16" as V16 #FloralWhite
78+
rectangle "V 17" as V17 #FloralWhite
79+
T0 -- V0
80+
T1 -- V1
81+
T2 -- V2
82+
T5n -[dotted]- V5n
83+
T6n -[dotted]- V6n
84+
T15 -- V15
85+
T16 -- V16
86+
T17 -- V17
87+
88+
@enduml

benchmarks/docs/dataset-shape-2-3-5.svg

Lines changed: 1 addition & 0 deletions
Loading

benchmarks/docs/dataset-size.puml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/'
2+
' Licensed to the Apache Software Foundation (ASF) under one
3+
' or more contributor license agreements. See the NOTICE file
4+
' distributed with this work for additional information
5+
' regarding copyright ownership. The ASF licenses this file
6+
' to you under the Apache License, Version 2.0 (the
7+
' "License"); you may not use this file except in compliance
8+
' with the License. You may obtain a copy of the License at
9+
'
10+
' http://www.apache.org/licenses/LICENSE-2.0
11+
'
12+
' Unless required by applicable law or agreed to in writing,
13+
' software distributed under the License is distributed on an
14+
' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
' KIND, either express or implied. See the License for the
16+
' specific language governing permissions and limitations
17+
' under the License.
18+
'/
19+
@startuml
20+
21+
map C_0 {
22+
catalogName => C_0
23+
defaultBaseLocation => file:///tmp/polaris/C_0
24+
}
25+
26+
json NS_4 {
27+
"namespace": ["NS_0", "NS_1", "NS_4"],
28+
"properties": {
29+
"Attribute_0": "Value_0",
30+
"Attribute_1": "Value_1",
31+
"...": "...",
32+
"Attribute_100": "Value_100"
33+
}
34+
}
35+
36+
json T_15 {
37+
"name": "T_15",
38+
"schema": {
39+
"type": "struct",
40+
"fields": [
41+
{"id": 0, "name": "column0", "type": "int", "required": true},
42+
{"id": 1, "name": "column1", "type": "int", "required": true},
43+
"...",
44+
{"id": 999, "name": "column999", "type": "int", "required": true}
45+
],
46+
"identifier-field-ids": [0]
47+
},
48+
"properties": {
49+
"Attribute_0": "Value_0",
50+
"Attribute_1": "Value_1",
51+
"...": "...",
52+
"Attribute_59": "Value_59"
53+
}
54+
}
55+
56+
C_0 -[hidden]- NS_4
57+
NS_4 -[hidden]- T_15
58+
59+
@enduml

0 commit comments

Comments
 (0)