Skip to content

Commit

Permalink
RSync Benchmark Bucket to Demo Server (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub authored Oct 9, 2023
1 parent b16bc6c commit 67d1744
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/remote-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ jobs:
with:
path: ${{env.RUN_TYPE}}
destination: deephaven-benchmark

- name: Sync GCloud with Demo NFS
run: |
gcloud compute ssh --zone "us-central1-a" --project "deephaven-oss" dhc-demo-nfs-client --command="gsutil -m -q rsync -r -d -J -x '^.*/test-logs/.*$' gs://deephaven-benchmark /nfs/deephaven-benchmark"
- name: Archive Results
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion docs/BenchmarkDemo.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ or experiment with [the scripted UI](https://deephaven.io/core/docs/how-to-guide
```python
from urllib.request import urlopen

root = 'file:///data' if os.path.exists('/data/deephaven-benchmark') else 'https://storage.googleapis.com'
root = 'file:///nfs' if os.path.exists('/nfs/deephaven-benchmark') else 'https://storage.googleapis.com'
with urlopen(root + '/deephaven-benchmark/benchmark_tables.dh.py') as r:
benchmark_storage_uri_arg = root + '/deephaven-benchmark'
benchmark_category_arg = 'release' # release | nightly
Expand Down
2 changes: 1 addition & 1 deletion docs/PublishedResults.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ in an instance of the Deephaven Engine.
````
from urllib.request import urlopen
root = 'file:///data' if os.path.exists('/data/deephaven-benchmark') else 'https://storage.googleapis.com'
root = 'file:///nfs' if os.path.exists('/nfs/deephaven-benchmark') else 'https://storage.googleapis.com'
with urlopen(root + '/deephaven-benchmark/benchmark_tables.dh.py') as r:
benchmark_storage_uri_arg = root + '/deephaven-benchmark'
benchmark_category_arg = 'release' # release | nightly
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from urllib.request import urlopen

root = 'file:///data' if os.path.exists('/data/deephaven-benchmark') else 'https://storage.googleapis.com'
root = 'file:///nfs' if os.path.exists('/nfs/deephaven-benchmark') else 'https://storage.googleapis.com'
with urlopen(root + '/deephaven-benchmark/benchmark_tables.dh.py') as r:
benchmark_storage_uri_arg = root + '/deephaven-benchmark'
benchmark_category_arg = 'release' # release | nightly
benchmark_max_runs_arg = 2 # Latest X runs to include
exec(r.read().decode(), globals(), locals())
exec(r.read().decode(), globals(), locals())
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from urllib.request import urlopen

root = 'file:///data' if os.path.exists('/data/deephaven-benchmark') else 'https://storage.googleapis.com'
root = 'file:///nfs' if os.path.exists('/nfs/deephaven-benchmark') else 'https://storage.googleapis.com'
with urlopen(root + '/deephaven-benchmark/benchmark_tables.dh.py') as r:
benchmark_storage_uri_arg = root + '/deephaven-benchmark'
benchmark_category_arg = 'nightly' # release | nightly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from urllib.request import urlopen

root = 'file:///data' if os.path.exists('/data/deephaven-benchmark') else 'https://storage.googleapis.com'
root = 'file:///nfs' if os.path.exists('/nfs/deephaven-benchmark') else 'https://storage.googleapis.com'
with urlopen(root + '/deephaven-benchmark/benchmark_tables.dh.py') as r:
benchmark_storage_uri_arg = root + '/deephaven-benchmark'
benchmark_category_arg = 'release' # release | nightly
Expand Down

0 comments on commit 67d1744

Please sign in to comment.