Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Hunt davehunt

View GitHub Profile
@davehunt
davehunt / alt-serverplayback.py
Created Nov 4, 2021
mitmproxy server playback with 404s and reversed flow
View alt-serverplayback.py
import hashlib
import typing
import urllib
import mitmproxy.types
from mitmproxy import command, hooks
from mitmproxy import ctx, http
from mitmproxy import exceptions
from mitmproxy import flow
from mitmproxy import io
View bug1670902.diff
diff -r /Users/dave/workspace/moz-current-tests/before.txt /Users/dave/workspace/moz-current-tests/after.txt
343,345d342
< browsertime-mobile-fenix-youtube-playback-h264-sfr-wr-e10s
< No tests satisfying criteria
<
349,351d345
< browsertime-mobile-fenix-youtube-playback-hfr-wr-e10s
< No tests satisfying criteria
<
355,357d348
View bug1700333.diff
221,226d220
< browsertime-tp6-chrome-facebook-redesign
< No tests satisfying criteria
<
< browsertime-tp6-chrome-facebook-redesign-e10s
< No tests satisfying criteria
<
365,370d358
< browsertime-tp6-chromium-facebook-redesign
< No tests satisfying criteria
View bug1676368.diff
*** /Users/dave/workspace/moz-current-tests/before.txt 2021-03-22 19:14:46.000000000
--- /Users/dave/workspace/moz-current-tests/after.txt 2021-03-22 19:14:55.000000000
***************
*** 1,60 ****
--- 1,65 ----
Report Breakdown
browsertime-benchmark-firefox-ares6-e10s
test-linux1804-64-shippable-qr/opt: mozilla-beta, trunk
test-linux1804-64-shippable/opt: mozilla-beta, trunk
View bug1677125.diff
*** /Users/dave/workspace/moz-current-tests/before.txt 2021-03-18 20:05:00.000000000
--- /Users/dave/workspace/moz-current-tests/after.txt 2021-03-18 20:02:33.000000000
***************
*** 6,70 ****
test-macosx1015-64-shippable-qr/opt: mozilla-beta, trunk
test-windows10-64-shippable-qr/opt: mozilla-beta, trunk
test-windows10-64-shippable/opt: mozilla-beta, trunk
browsertime-benchmark-firefox-ares6-fis-e10s
test-linux1804-64-shippable-qr/opt: mozilla-central
View bug1699140.diff
diff -r /Users/dave/workspace/mozilla-unified/tasks-before-pageload-removal.json /Users/dave/workspace/mozilla-unified/tasks-after-pageload-removal.json
1669562c1669562
< "test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-profiling-geckoview-cold-amazon-e10s": {
---
> "test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-profiling-geckoview-amazon-e10s": {
1669569c1669569
< "raptor_try_name": "browsertime-tp6m-profiling-geckoview-cold-amazon",
---
> "raptor_try_name": "browsertime-tp6m-profiling-geckoview-amazon",
1669581c1669581
View selected.diff
diff -r /Users/dave/workspace/mozilla-unified/tasks-selected-old.txt /Users/dave/workspace/mozilla-unified/tasks-selected.txt
0a1,253
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-allrecipes-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-amazon-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-bing-search-restaurants-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-bing-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-booking-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-cnn-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-ebay-kleinanzeigen-search-wr-e10s
> test-android-hw-g5-7-0-arm7-api-16-shippable/opt-browsertime-tp6m-live-fenix-ebay-kleinanzeigen-wr-e10s
View requirements.txt
blinkt; sys_platform == "linux"
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
python-dateutil
View raptorpy3.diff
diff --git a/mach b/mach
--- a/mach
+++ b/mach
@@ -17,9 +17,6 @@ py2commands="
jsshell-bench
marionette-test
jstests
- mozharness
- raptor
- raptor-test
@davehunt
davehunt / console.log
Last active Nov 7, 2019
mach browsertime --setup
View console.log
mach browsertime --setup
0:01.27 Downloading artifact to local cache: /Users/dhunt/.mozbuild/cache/browsertime/8745c3584f51f06e-ImageMagick-x86_64-apple-darwin18.7.0.tar.gz
0:02.00 Downloading... 0.0 %
0:02.47 Downloading... 5.0 %
0:02.61 Downloading... 10.0 %
0:02.73 Downloading... 15.1 %
0:02.82 Downloading... 20.0 %
0:02.91 Downloading... 25.1 %
0:02.99 Downloading... 30.0 %
0:03.08 Downloading... 35.1 %