Skip to content

Commit

Permalink
114 generate plot via Github Actions pipeline (#133)
Browse files Browse the repository at this point in the history
* Create script to generate new benchmarks plot

* Delete load_benchmark notebook, no longer needed.

* Add generate new plot to benchmarks action

* Remove possibly duplication execution of shell script

* Correct filepath

* Remove seaborn requirement

* Get abolute filepath

* Commit all contents of benchmark including .png

* Increase parallelism

* Point to 8 core Runner

* Fix filepath concatonation

* Checkout correct branch of the repo

* Update benchmark results

* Remove unnecessary print statement

* Push results to same branch

* Update to 16 core and 16 parallelism CL arg

* Update benchmark results

* Reducing paralellism to 8 since 16 did not significantly speed up.

* Try to pull the correct branch

* Add small test shell script

* Test on smaller benchmarks for debugging

* Move test script to scripts directory

* Update benchmark results

* Update benchmark results

* Return to full benchmarks

* Update benchmark results

* Add print statements for debugging

* Return to small test

* Update benchmark results

* Test adding .png explicitly

* Debugging why .png is not being committed

* Add manual commit for .png

* Try force adding .png and removing existing cached versions

* Try git add --all

* Update benchmark results

* Add debugging for git ignore

* Remove gitmodules check

* Fix yml issues from merge

* Touch new png to acknowleddge as new plot.

* Update benchmark results

* Rotate xlabels

* Update benchmark results

* Try mounting entire GH workspace in the docker volume

* Remove accidental comment within docker command

* Fix syntax error

* Simplifying to use built in GH Actions API

* Remove syntax error comment

* Refactor GitHub Actions workflow to improve benchmark result handling and ensure proper branch context for commits

* Syntax error

* Add git config to Action

* Update benchmark results

* Add individual plot scripts for circuits and split into latest and avg over time

* Add new plotting scripts to GH Action workflow

* Delete inaccurate data and add new plots

* Update benchmark results

* Delete test data

* Return to full benchmark shell script.

* Update benchmark results

* Store the hour in the filename to differentiate runs on the same day but keep the number of files lower (when running benchmarks in parallel)

* Generalize small_test shell script

* Add test_data to gitignore

---------

Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
jordandsullivan and actions-user authored Dec 16, 2024
1 parent 7630975 commit 7c0caf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ docs/build/
dist/
build/
jupyter_execute/

benchmarks/results/test_data
Binary file modified benchmarks/latest_compiler_benchmarks_by_circuit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c0caf6

Please sign in to comment.