mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 02:46:49 +00:00
Add caveats.
This commit is contained in:
parent
22843c89a5
commit
9553901ca1
@ -3,13 +3,25 @@ First attempt at benchmarking uploads and downloads.
|
||||
|
||||
To run:
|
||||
|
||||
$ pytest benchmarks/upload_download.py -s -v -Wignore
|
||||
$ pytest benchmarks/upload_download.py -s -v -Wignore
|
||||
|
||||
TODO Parameterization (pytest?)
|
||||
- Foolscap vs not foolscap
|
||||
- Number of nodes
|
||||
- Data size
|
||||
- Number of needed/happy/total shares.
|
||||
|
||||
- Foolscap vs not foolscap
|
||||
|
||||
- Number of nodes
|
||||
|
||||
- Data size
|
||||
|
||||
- Number of needed/happy/total shares.
|
||||
|
||||
CAVEATS: The goal here isn't a realistic benchmark, or a benchmark that will be
|
||||
measured over time, or is expected to be maintainable over time. This is just
|
||||
a quick and easy way to measure the speed of certain operations, compare HTTP
|
||||
and Foolscap, and see the short-term impact of changes.
|
||||
|
||||
Eventually this will be replaced by a real benchmark suite that can be run over
|
||||
time to measure something more meaningful.
|
||||
"""
|
||||
|
||||
from time import time, process_time
|
||||
|
Loading…
x
Reference in New Issue
Block a user