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

Allow benchmark script to run on remote cortices #1829

Merged
merged 8 commits into from
Aug 4, 2020
Merged

Conversation

jnwatson
Copy link
Contributor

@jnwatson jnwatson commented Jul 31, 2020

Add --remote parameter to benchmark_cortex script. It causes temporary layers and views to be created for benchmarking.

Also fix a getTagCount/bump heisenbug I stumbled upon.

Add --remote parameter to benchmark_cortex script.  It causes temporary
layers to be created for benchmarking.

Update benchmark tests to use APIs that accept view parameters (and
aren't deprecated).
@codecov
Copy link

codecov bot commented Jul 31, 2020

Codecov Report

Merging #1829 into master will decrease coverage by 5.50%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1829      +/-   ##
==========================================
- Coverage   96.19%   90.69%   -5.51%     
==========================================
  Files         140      140              
  Lines       27387    27402      +15     
==========================================
- Hits        26345    24852    -1493     
- Misses       1042     2550    +1508     
Flag Coverage Δ
#linux 90.69% <100.00%> (-5.51%) ⬇️
#linux_replay 66.54% <85.36%> (+1.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
synapse/lib/layer.py 97.68% <100.00%> (-0.13%) ⬇️
synapse/lib/lmdbslab.py 98.36% <100.00%> (-0.50%) ⬇️
synapse/servers/cell.py 0.00% <0.00%> (-100.00%) ⬇️
synapse/lib/ratelimit.py 0.00% <0.00%> (-100.00%) ⬇️
synapse/tools/pushfile.py 0.00% <0.00%> (-100.00%) ⬇️
synapse/lib/jupyter.py 0.00% <0.00%> (-98.62%) ⬇️
synapse/cmds/cron.py 10.37% <0.00%> (-87.17%) ⬇️
synapse/lib/hashset.py 29.16% <0.00%> (-70.84%) ⬇️
synapse/lib/httpapi.py 34.20% <0.00%> (-60.17%) ⬇️
synapse/lib/encoding.py 33.33% <0.00%> (-51.59%) ⬇️
... and 27 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23b7c68...a5e3992. Read the comment docs.

@jnwatson jnwatson merged commit 312fe6c into master Aug 4, 2020
@jnwatson jnwatson deleted the remote-benchmark2 branch August 4, 2020 18:07
@vEpiphyte vEpiphyte added this to the v2.5.1 milestone Aug 4, 2020
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