Casual Profiling GUI (#265)

* Long workload name layout fix (#269)

* changed layout to fit experiment names

- added span to show full name
- shortened name to fit dropwdown
- changed layout for added consistency

* layout Fixes

- refresh button is to the right
- header is more consistent across different width screens

* header layout update

- center div makes turns into multiple lines if not all items fit

* slight improvement for header/graph spacing

* Fixed refresh button shape and function

- moved find_causal_files to parser so that main and gui can access
- resized refresh width to allow for same shape across different screens

* all graphs now have the same width

- graphs now have same width

- chart headers start well below the header with filters

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Causal GUI: Linting, synced y-range, remove unused imports/variables, and bug fixes (#274)

* GUI: python linting workflow

- runs flake8 on code in source/python/gui

* GUI: flake8 settings in source/python/gui/setup.cfg

- ignore E501 errors (line too long)
- ignore W503 errors (line break before binary operator)

* GUI: setup.py updates

- remove unused imports

* GUI: __main__.py updates

- stddev is float value
- remove unused imports
- effectively propagate the --stddev argument

* GUI: gui.py updates

- remove unused imports
- fix light mode
- sync initial y range of all causal plots
- fix error bars for causal data
- set x-ticks to 5
- set y-ticks to 10
- only display top 99% of samples
- separate global declarations and assignments to global values
- remove unused variable assignments
- fix mislabeled function_regex and exp_regex
- change if X == False to if not X

* GUI: header.py updates

- remove unused imports
- fix mislabeled function_regex and exp_regex

* GUI: parser.py updates

- add set_num_stddev function for manipulating global num_stddev value
- remove unused variables
- fix latency point object (duplicated __init__ function)
- fix handling latency in JSON
- fix formatting of validation format error message
- replace if X == False with if not X
- fix unused dataframe creation in add_latency
- fix flake8 do not assign lambda for name_wo_ext (use def)

* GUI: gui.py updates

- replace misnamed "func_list" with "experiment_list"
- replace misnamed "exp_list" with "progpt_list"

* GUI: fix python workflow

- quote python versions to avoid truncating 3.10 to 3.1

---------

Co-authored-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>
This commit is contained in:
Jonathan R. Madsen
2023-04-11 23:36:24 -05:00
committed by GitHub
parent b39a683eab
commit cc14b52584
123 changed files with 35953 additions and 6 deletions
@@ -0,0 +1,24 @@
startup time=1668112322692628451
experiment selected=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:61 speedup=0.45 duration=458583304 selected-samples=50
throughput-point name=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 delta=188627
experiment selected=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:53 speedup=0.20 duration=451826807 selected-samples=110
throughput-point name=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 delta=195079
experiment selected=/usr/include/c++/9/bits/stl_deque.h:375 speedup=0.05 duration=490437380 selected-samples=24
throughput-point name=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 delta=213386
experiment selected=/usr/include/c++/9/bits/stl_deque.h:375 speedup=0.00 duration=500060800 selected-samples=28
throughput-point name=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 delta=212555
experiment selected=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:36 speedup=0.45 duration=418026736 selected-samples=82
throughput-point name=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 delta=167074
runtime time=2581062440
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:36 count=484
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:38 count=82
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:42 count=270
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:43 count=158
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:53 count=527
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:61 count=233
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:62 count=162
samples location=/home/jose/coz/benchmarks/producer_consumer/producer_consumer.cpp:63 count=258
samples location=/usr/include/c++/9/bits/deque.tcc:166 count=1
samples location=/usr/include/c++/9/bits/deque.tcc:171 count=1
samples location=/usr/include/c++/9/bits/stl_deque.h:375 count=146
samples location=/usr/include/c++/9/bits/stl_deque.h:1609 count=1