mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
CI: OHOS Use mitmproxy with forwarding mode in hitrace-bench (#42508)
This updates to a new hitrace-bench version which supports to handle mitmproxy by automatically starting and destroying it for the benchmarks. Currently we are only in forwarding mode and do _not_ replay responses. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Testing: https://github.com/Narfinger/servo/actions/runs/21867906670/job/63114716882 Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/ohos.yml
vendored
2
.github/workflows/ohos.yml
vendored
@@ -39,7 +39,7 @@ env:
|
||||
SHELL: /bin/bash
|
||||
CARGO_INCREMENTAL: 0
|
||||
BENCHER_PROJECT: ${{ vars.BENCHER_PROJECT || 'servo' }}
|
||||
HITRACE_BENCH_VERSION: 0.10.0
|
||||
HITRACE_BENCH_VERSION: 0.11.0
|
||||
MITMDUMP_CACHE_KEY: mitmdump-ohos-cache-0.1
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
{
|
||||
"run_args": {
|
||||
"url": "https://www.google.com", // the url to test
|
||||
"tries": 5 // How many repeated tries we should have, we show the min,max,avg in the output
|
||||
"tries": 5, // How many repeated tries we should have, we show the min,max,avg in the output
|
||||
"mitmproxy": true // Use mitmproxy in forwarding mode
|
||||
//"trace_buffer": 524288, // trace_buffer size of hitrace
|
||||
//"sleep": 10, // how long should we wait for servo to load the page
|
||||
//"commands": ["--ps=--tracing-filter", "info"] // arbitrary additional arguments
|
||||
@@ -64,7 +65,8 @@
|
||||
{
|
||||
"run_args": {
|
||||
"url": "https://www.servo.org",
|
||||
"tries": 5
|
||||
"tries": 5,
|
||||
"mitmproxy": true
|
||||
},
|
||||
"filters": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user