Repro script for comparing two commits with a heavier synthetic workload.
Usage:
bash swiftsoup-ab-bench.shDefaults (override with env vars):
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <title>IntersectionObserver vs getBoundingClientRect (50,000 elements)</title> | |
| <style> | |
| #theContainer { width: 100vw; max-width: 100%; } | |
| .test-elem { margin:1px; display:inline-block; width:10px; height:10px; background:#ddd; } | |
| </style> | |
| </head> | |
| <body> |
| import Foundation | |
| import LRUCache | |
| @globalActor | |
| fileprivate actor LRUFileCacheActor { | |
| static var shared = LRUFileCacheActor() | |
| } | |
| #if DEBUG | |
| fileprivate let debugBuildID = UUID() |
| git describe --exact-match 2> /dev/null || git describe --all --long | perl -pe 's/^heads\///' |
####Radu
####Marius
| [ | |
| { | |
| "elements": [ | |
| { | |
| "keyword": "Scenario", | |
| "location": "features/test.feature:3", | |
| "name": "Redacted name of a scenario here", | |
| "steps": [ | |
| { | |
| "keyword": "Given", |
| Feature: Basic Test # features/test.feature:1 | |
| Scenario: As a student I should be able to blah blah blah # features/test.feature:26 | |
| Given I create a student user # None | |
| And I navigate to the base url # None | |
| Then I should see text Login # None | |
| When I login # None | |
| Then I should see text Courses # None | |
| 0 features passed, 0 failed, 0 skipped, 9 untested |
####Andrew S.
####Josh E.
####David P.: Pip Boy 3000
####Paul Haefele: Python event lib
####Bakz Awan: Startup Timelines
####Brian Peiris
####Kevin Shi
####Jimmy Wang