Closed Bug 2031283 Opened 6 months ago Closed 6 months ago

Parallelize network requests in moz-phab patch

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

  ┌──────────┬────────────────┬─────────┬─────────┬─────────────┐
  │ Command  │    Mean [s]    │ Min [s] │ Max [s] │  Relative   │
  ├──────────┼────────────────┼─────────┼─────────┼─────────────┤
  │ serial   │ 16.553 ± 1.546 │  15.178 │  18.618 │ 1.44 ± 0.14 │
  ├──────────┼────────────────┼─────────┼─────────┼─────────────┤
  │ parallel │ 11.479 ± 0.347 │  11.112 │  11.971 │        1.00 │
  └──────────┴────────────────┴─────────┴─────────┴─────────────┘

with:

#!/bin/bash
set -e
cd /tmp/firefox
git checkout main -f 2>/dev/null
git branch -D phab-D293127 2>/dev/null || true
PYTHONPATH=/home/sylvestre/dev/mozilla/review moz-phab patch D293127 --no-commit 2>/dev/null
#!/bin/bash
set -e
cd /tmp/firefox
git checkout main -f 2>/dev/null
git branch -D phab-D293127 2>/dev/null || true
moz-phab patch D293127 --no-commit 2>/dev/null
hyperfine --warmup 1 --runs 5 --export-markdown
      /home/sylvestre/dev/mozilla/review/bench_results.md \
        -n "serial" "/tmp/bench_serial.sh" \
        -n "parallel" "/tmp/bench_parallel.sh" 
Assignee: nobody → sledru
Status: NEW → ASSIGNED

Authored by https://github.com/sylvestre
https://github.com/mozilla-conduit/review/commit/066e55dc03ed46027821b55af5119e3684621f07
[main] Bug 2031283 - Parallelize network requests in moz-phab patch for faster stack application r=sheehan

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Regressions: 2036007
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: