Skip to content

Instantly share code, notes, and snippets.

View gsnedders's full-sized avatar

Sam Sneddon gsnedders

View GitHub Profile
Benchmark wpt27_perf wpt35_perf wpt36_perf wpt37_perf wpt38_perf
wpt_001 424 us 434 us: 1.02x slower (+2%) 440 us: 1.04x slower (+4%) 367 us: 1.16x faster (-13%) 297 us: 1.43x faster (-30%)
wpt_2d.composite.image.destination-over 1.71 ms 1.63 ms: 1.05x faster (-5%) 1.69 ms: 1.01x faster (-1%) 1.40 ms: 1.22x faster (-18%) 1.11 ms: 1.54x faster (-35%)
wpt_align-content-wrap-002 5.45 ms 5.17 ms: 1.05x faster (-5%) 5.49 ms: 1.01x slower (+1%) 4.45 ms: 1.22x faster (-18%) 3.49 ms: 1.56x faster (-36%)
wpt_background-origin-007-ref
+-----------------------------------------------------+---------+------------------------------+
| Benchmark | master | eod |
+=====================================================+=========+==============================+
| wpt_beforeunload-on-history-back-1 | 438 us | 246 us: 1.78x faster (-44%) |
+-----------------------------------------------------+---------+------------------------------+
| wpt_frame-ancestors-self-allow | 883 us | 518 us: 1.70x faster (-41%) |
+-----------------------------------------------------+---------+------------------------------+
| wpt_001 | 536 us | 317 us: 1.69x faster (-41%) |
+-----------------------------------------------------+---------+------------------------------+
| wpt_background_shorthand_css_relative_url | 1.38 ms | 833 us: 1.66x faster (-40%) |

The following 35 files account for 2/3rds all of HTML parse-time when running ./wpt manifest -r under Python 3.8, and HTML parsing is known to be a bottleneck there; the first column is time to parse in nanoseconds, the second column is the path:

135653604 css/compositing/test-plan/test-plan.html
176767866 css/CSS2/floats-clear/clear-on-parent-with-margins.html
193460915 css/css-flexbox/interactive/flexbox_interactive_order-transitions.html
197030005 encoding/legacy-mb-tchinese/big5/big5_chars_extra.html
221161410 html/browsers/offline/appcache/appcache-iframe.https.html
224716724 mathml/relations/css-styling/mathvariant-auto-ref.html
239263995 css/vendor-imports/mozilla/mozilla-central-reftests/text3/segment-break-transformation-rules-004.html
2019-nCoV
American Health System
CDC
containment
#cornavirus
#CornavirusOutbreak
#cornavirusupdate
cornoavirus
corona
#coronatv
a12.2
a16.6
a18.1
a4.3.6
a9.2.4
c10
c10.1
c10.2
c10.3
c10.3.2
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import unicode_literals
import os
import re
import sys
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
import os
import csv
import socket
import sys
import threading
import time
{
"selection": 1,
"proximity": 1,
"geolocation-sensor": 1,
"audio-output": 1,
"event-timing": 1,
"screen-orientation": 1,
"hr-time": 1,
"gyroscope": 1,
"annotation-protocol": 1,
@gsnedders
gsnedders / both.txt
Last active September 16, 2019 06:01
WPT RFC #15 only and/or reftests
/css/css-text/shaping/shaping-023.html
/css/css-text/shaping/shaping-024.html
/css/css-text/shaping/shaping-025.html
(py2-env) pnin:web-platform-tests gsnedders$ ./wpt run --log-mach - --log-mach-level debug --webdriver-binary /Applications/Safari\ Technology\ Preview.app/Contents/MacOS/safaridriver safari /inert/inert-in-shadow-dom.tentative.html /inert/inert-retargeting.tentative.html infrastructure/assumptions/html-elements.html
0:00.20 vcs DEBUG git rev-parse --show-toplevel
0:00.21 vcs DEBUG git rev-parse --show-cdup
0:00.22 vcs DEBUG git rev-parse HEAD
0:08.16 INFO Using 1 client processes
0:08.22 INFO Starting http server on web-platform.test:8000
0:08.22 INFO Starting http server on web-platform.test:8001
0:08.23 INFO Starting https server on web-platform.test:8443
0:08.71 SUITE_START: web-platform-test - running 3 tests
0:08.72 INFO Running reftest tests