Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update paths and remove references to unnecessary dirs #234

Merged
merged 9 commits into from
Apr 25, 2024

Conversation

rwstauner
Copy link
Contributor

@rwstauner rwstauner commented Apr 19, 2024

  • Move constants for continuous reporting dirs to helper for reuse
  • Update dir paths to reflect new locations
  • Remove unused reference to yjit-metrics-pages/raw_benchmark_data
  • Use constant for path to raw-benchmark-data
  • Make arg required and remove obsolete default
  • Replace unused reference to yjit-metrics-pages with built-reports
  • Remove references to yjit-metrics-pages in used check_reporting scripts
  • Remove unneeded YJIT_METRICS_PAGES_DIR
  • Remove last mentions of yjit-metrics-pages from obsolete comments

The yjit-pages-metrics dir is a checkout of the pages branch of this repo which is no longer used.
The subdirs with data are symlinks to other dirs on the server, so this updates the code to use those paths directly so we can eliminate this old dir.

$ readlink yjit-metrics-pages/_includes/reports
../../built-yjit-reports/_includes/reports

@noahgibbs
Copy link
Contributor

These look like great cleanups.

yjit-metrics-pages/_includes/reports is a symlink to built-yjit-reports/_includes/reports
so we can change to use it directly.

The "_benchmarks/bench_*.md" files are now in built-yjit-reports.
The "test_results" they reference are in raw-benchmark-data.

yjit-metrics-pages/raw_benchmark_data is no longer being updated and
this change removes references to it.
Get rid of one more reference to an unused dir.
Currently a symlink points from there to here.
This code isn't currently used.
There is no reference to any jobs running these scripts.
The comments are outdated and the `cd here and checkout and clean`
command would effectively no-op since this dir doesn't get updated
anymore.
This script chdir'ed to it but then only referenced files from other dirs.
@rwstauner rwstauner merged commit dc9c7a1 into main Apr 25, 2024
3 checks passed
@rwstauner rwstauner deleted the rwstauner/dirs branch April 25, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants