User:Mconnor/Pending/WeaveBenchmarks: Difference between revisions
Jump to navigation
Jump to search
(Created page with '* Basic goals ** Test full upload speed for all engines (easy) ** Test full download speed for all engines (easy) ** Test merge speed for all engines (hard) * Full upload ** Cre…') |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Basic goals == | |||
* Test full upload speed for all engines (easy) | |||
* Test full download speed for all engines (easy) | |||
* Test merge speed for all engines (hard) | |||
== Test outlines == | |||
* Full upload | * Full upload | ||
** Create a test profile with arbitrary data, including random IDN domains, for all engines shipped by default | ** Create a test profile with arbitrary data, including random IDN domains, for all engines shipped by default | ||
** wipe the server, then force a full sync to the server, timing start to finish. | ** wipe the server, then force a full sync to the server, timing the sync from start to finish. | ||
** repeat this 20 times, drop high/low and average. | ** repeat this 20 times, drop high/low and average. | ||
| Line 16: | Line 19: | ||
* Merge speed | * Merge speed | ||
** <smart ideas go here> | ** <smart ideas go here> | ||
== First production test setup == | |||
* Each test machine will need an account on the test server. | |||
* The test profile will need to be generated at the start of the run, to avoid hitting expiration issues. Some sort of format, probably JSON, to store the data and offsets will need to be generated that we can read in and add everything via the appropriate APIs. | |||
* Once we have a local profile built up: | |||
** Run the upload benchmarks, leaving the data on the server after the last run. | |||
** Run the download benchmarks from the uploaded dataset, wiping the server after the last run. | |||
** Nuke the local profile. | |||
Latest revision as of 16:10, 19 November 2010
Basic goals
- Test full upload speed for all engines (easy)
- Test full download speed for all engines (easy)
- Test merge speed for all engines (hard)
Test outlines
- Full upload
- Create a test profile with arbitrary data, including random IDN domains, for all engines shipped by default
- wipe the server, then force a full sync to the server, timing the sync from start to finish.
- repeat this 20 times, drop high/low and average.
- Full download
- After the last run of the upload benchmark, do not wipe the server data.
- Wipe the local data and import everything from the server.
- Repeat 20x, as before, and generate a score.
- Merge speed
- <smart ideas go here>
First production test setup
- Each test machine will need an account on the test server.
- The test profile will need to be generated at the start of the run, to avoid hitting expiration issues. Some sort of format, probably JSON, to store the data and offsets will need to be generated that we can read in and add everything via the appropriate APIs.
- Once we have a local profile built up:
- Run the upload benchmarks, leaving the data on the server after the last run.
- Run the download benchmarks from the uploaded dataset, wiping the server after the last run.
- Nuke the local profile.