Skip to content

Commit c6e8dfe

Browse files
authored
Remove Vega plots that require backend processing (#940)
All benchmarks now use Plotly instead of Vega. JSON for vega plots no longer needs to be updated for every upload. This does not remove all backend processing.
1 parent 988a909 commit c6e8dfe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+87
-32139
lines changed

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,16 @@ $(HEXBIN_OUT): $(HEXBIN_IN)
2727

2828
yamllint: $(YAML_FILES_OUT)
2929

30-
build_charts: _data/simulations.py $(YAML_FILES_OUT)
31-
python _data/simulations.py
32-
3330
data_table: _data/data_table.py
3431
python _data/data_table.py
3532

3633
doi_data: _data/to_doi_csv.py
3734
python _data/to_doi_csv.py
3835

39-
simulations: yamllint build_charts data_table
36+
simulations: yamllint data_table
4037

4138
hexbin: $(HEXBIN_OUT)
4239

4340
notebooks: $(NOTEBOOKS_HTML) $(NOTEBOOKS_MD)
4441

4542
print-% : ; @echo $* = $($*)
46-
47-
install:
48-
echo "fake install"

_data/PF4_Install-a-thon_Responses.csv

Lines changed: 0 additions & 19 deletions
This file was deleted.

_data/benchmarks.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,29 @@
2121
commit:
2222
sha: "3d5d8aab40e1f83fe52bfaa3047a741e8ef4ef37"
2323
url: "hackathon1/problems.ipynb"
24+
data:
25+
- name: total_free_energy
26+
data_name: free_energy
27+
title: Free Energy v Time
28+
x_title: '<i>t</i>'
29+
y_title: '&#8497;'
30+
x_scale: log
31+
y_scale: log
32+
minimum: 1.0
33+
type: scatter
34+
mode: lines
35+
func: get_values
36+
- name: efficiency
37+
type: scatter
38+
x_scale: log
39+
y_scale: log
40+
x_title: '<i>t</i><sub>Wall</sub> / <i>t</i><sub>Sim</sub> *'
41+
y_title: 'Memory Usage (KB)'
42+
title: Efficiency
43+
mode: markers
44+
footnote: "<span class='plotly-footnote' >* Wall time divided by the total simulated time.</span>"
45+
func: efficiency
46+
2447

2548
- title: Ostwald Ripening
2649
description: Coupling of conserved and non-conserved dynamics
@@ -45,6 +68,30 @@
4568
commit:
4669
url: "hackathon1/problems.ipynb"
4770
sha: "3d5d8aab40e1f83fe52bfaa3047a741e8ef4ef37"
71+
data:
72+
- name: total_free_energy
73+
data_name: free_energy
74+
title: Free Energy v Time
75+
x_title: '<i>t</i>'
76+
y_title: '&#8497;'
77+
x_scale: log
78+
y_scale: log
79+
minimum: 1.0
80+
type: scatter
81+
mode: lines
82+
func: get_values
83+
- name: efficiency
84+
type: scatter
85+
x_scale: log
86+
y_scale: log
87+
x_title: '<i>t</i><sub>Wall</sub> / <i>t</i><sub>Sim</sub> *'
88+
y_title: 'Memory Usage (KB)'
89+
title: Efficiency
90+
mode: markers
91+
footnote: "<span class='plotly-footnote' >* Wall time divided by the total simulated time.</span>"
92+
func: efficiency
93+
94+
4895

4996
- title: Dendritic Growth
5097
description: Solidification and dendritic growth in a single-component
@@ -300,6 +347,28 @@
300347
commit:
301348
sha: "c31dc4e96b7a35b6266c68e9911521e732943c5d"
302349
url: "benchmarks/benchmark6-hackathon.ipynb"
350+
data:
351+
- name: total_free_energy
352+
data_name: free_energy
353+
title: Free Energy v Time
354+
x_title: '<i>t</i>'
355+
y_title: '&#8497;'
356+
x_scale: log
357+
y_scale: log
358+
minimum: 1.0
359+
type: scatter
360+
mode: lines
361+
func: get_values
362+
- name: efficiency
363+
type: scatter
364+
x_scale: log
365+
y_scale: log
366+
x_title: '<i>t</i><sub>Wall</sub> / <i>t</i><sub>Sim</sub> *'
367+
y_title: 'Memory Usage (KB)'
368+
title: Efficiency
369+
mode: markers
370+
footnote: "<span class='plotly-footnote' >* Wall time divided by the total simulated time.</span>"
371+
func: efficiency
303372

304373
- title: MMS Allen-Cahn
305374
description: Use the Method of Manufactured Solutions to verify codes

0 commit comments

Comments
 (0)