|
[Telemetry] Cause web server to keep resources in memory and thread requests.
My hope is that this will solve the noise problem on the perf bots. The theory
being that the disk accesses in a single-threaded HTTP server could cause
significant hiccups in the page loads.
To accomplish this, we extend SimpleHTTPServer and override the key methods to
serve from an in-memory cache rather than by reading from disk for each URL.
Unfortunately, the page_cycler data directory is >300M, so to avoid reading in
the whole thing, the page_cycler page_sets now specify the directories that they
actually need.
BUG= 196411
TEST=Ran various benchmarks and unittests
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189958
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+175 lines, -84 lines) |
Patch |
 |
M |
tools/perf/page_sets/page_cycler/alexa_us.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/bloat.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/delete-transactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/insert-transactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/pseudo-random-transactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/select-readtransactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/select-readtransactions-read-results.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/select-transactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/database/update-transactions.json
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/dhtml.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/dom.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/indexed_db/basic_insert.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/intl1.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/intl2.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/morejs.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/morejsnp.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/moz.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/perf/page_sets/page_cycler/moz2.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/browser.py
|
View
|
1
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/inspector_console_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/inspector_memory_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/inspector_page_unittest.py
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/inspector_timeline_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/chrome/tracing_backend_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/core/memory_cache_http_server.py
|
View
|
1
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/tab_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/temporary_http_server.py
|
View
|
|
3 chunks |
+17 lines, -24 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/temporary_http_server_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/click_element_unittest.py
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/scroll_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/wait_unittest.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/page.py
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/page_runner.py
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/page_unittest.py
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|