Skip to content

Instantly share code, notes, and snippets.

View soulgalore's full-sized avatar

Peter Hedenskog soulgalore

View GitHub Profile
{
"har1": {
"url": "https://s3.amazonaws.com/results.sitespeed.io/en.wikipedia.org/2018-11-27-15-14-01/pages/en.wikipedia.org/wiki/Barack_Obama/data/browsertime.har.gz",
"label": "Before",
"run": 1
},
"har2": {
"url": "https://s3.amazonaws.com/results.sitespeed.io/en.wikipedia.org/2018-11-27-16-50-59/pages/en.wikipedia.org/wiki/Barack_Obama/data/browsertime.har.gz",
"label": "Banner",
"run": 1
{
"har1": {
"url": "https://s3.amazonaws.com/results.sitespeed.io/en.wikipedia.org/2018-10-18-08-50-26/pages/en.wikipedia.org/wiki/Barack_Obama/data/browsertime.har.gz",
"label": "Before change"
},
"har2": {
"url": "https://s3.amazonaws.com/results.sitespeed.io/en.wikipedia.org/2018-10-17-15-55-57/pages/en.wikipedia.org/wiki/Barack_Obama/data/browsertime.har.gz",
"label": "After change"
},
"comment": "Look at the first request. Something is seriously wrong there :("
@soulgalore
soulgalore / webpagetest-har-with-chunks.har
Created September 22, 2018 18:59
Chunk support in HTTP2
This file has been truncated, but you can view the full file.
{
"log": {
"version": "1.1",
"creator": {
"name": "WebPagetest",
"version": "18.08"
},
"browser": {
"name": "Chrome",
"version": "69.0.3497.100"
@soulgalore
soulgalore / influxdb.log
Created August 8, 2018 05:56
InfluxDB error
[2018-08-08 05:11:02] ERROR: Error: A 400 Bad Request error occurred: {"error":"unable to parse 'backEndTime,statistics=timings,pageTimings=backEndTime,category=default,origin=browsertime,summaryType=pageSummary,connectivity=[object Object],cable\\ \\,,browser=chrome,page=_,group=www_nytimes_com median=74,time=1533704745383': invalid boolean\nunable to parse 'backEndTime,statistics=timings,pageTimings=backEndTime,category=default,origin=browsertime,summaryType=pageSummary,connectivity=[object Object],cable\\ \\,,browser=chrome,page=_,group=www_nytimes_com mean=601,time=1533704745383': invalid boolean\nunable to parse 'backEndTime,statistics=timings,pageTimings=backEndTime,category=default,origin=browsertime,summaryType=pageSummary,connectivity=[object Object],cable\\ \\,,browser=chrome,page=_,group=www_nytimes_com mdev=472.3032,time=1533704745383': invalid boolean\nunable to parse 'backEndTime,statistics=timings,pageTimings=backEndTime,category=default,origin=browsertime,summaryType=pageSummary,connectivity=[
@soulgalore
soulgalore / harexport0.6.1.har
Created May 23, 2018 06:02
example HAR from HAR export 0.6.1
{"log":{"browser":{"name":"Firefox","version":"61.0"},"creator":{"name":"Firefox","version":"61.0"},"entries":[{"_securityState":"secure","cache":{},"connection":"443","pageref":"page_7","request":{"bodySize":0,"cookies":[],"headers":[{"name":"Host","value":"www.wikipedia.org"},{"name":"User-Agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"Accept-Language","value":"en-US,en;q=0.5"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"}],"headersSize":335,"httpVersion":"HTTP/2.0","method":"GET","queryString":[],"url":"https://www.wikipedia.org/"},"response":{"bodySize":19459,"content":{"mimeType":"text/html"},"cookies":[{"name":"CP","value":"H2"},{"name":"WMF-Last-Access","value":"23-May-2018"},{"name":"WMF-Last-Access-Global","value":"23-May-2018"},{"name":"GeoIP","val
[{"method":"Page.frameScheduledNavigation","params":{"delay":0,"frameId":"85974B2FA07A0E1E012FF73742DEE96C","reason":"scriptInitiated","url":"https://www.sitespeed.io/"}},{"method":"Network.requestWillBeSent","params":{"documentURL":"https://www.sitespeed.io/","frameId":"85974B2FA07A0E1E012FF73742DEE96C","initiator":{"stack":{"callFrames":[{"columnNumber":29,"functionName":"","lineNumber":376,"scriptId":"25","url":""}]},"type":"script"},"loaderId":"D06F1FB03472A8C2DF7072640204AABE","request":{"headers":{"Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.33 Safari/537.36","X-DevTools-Emulate-Network-Conditions-Client-Id":"85974B2FA07A0E1E012FF73742DEE96C"},"initialPriority":"VeryHigh","method":"GET","mixedContentType":"none","referrerPolicy":"no-referrer-when-downgrade","url":"https://www.sitespeed.io/"},"requestId":"D06F1FB03472A8C2DF7072640204AABE","timestamp":82455.623592,"type":"Document","wallTime":1522176468.014116}},{"met
@soulgalore
soulgalore / breaking.har
Created February 13, 2018 08:01
WPT HAR that breaks compare
This file has been truncated, but you can view the full file.
{
"log": {
"version": "1.1",
"creator": {
"name": "WebPagetest",
"version": "17.12"
},
"browser": {
"name": "Chrome",
"version": "64.0.3282.140"
@soulgalore
soulgalore / job-log.txt
Created February 1, 2018 05:08
WebPageTest jobs.
02:22:01 Started by timer
02:22:01 Started by timer
02:22:01 Building remotely on webperformance (WebPerformance) in workspace /srv/jenkins/workspace/workspace/performance-webpagetest-linux-wmf
02:22:01 Using checkout strategy: Default
02:22:01 Last Built Revision: Revision 4d6fd1f90bc05c6608c3c3e376159b2703cc8109 (origin/master)
02:22:01 Wiping out workspace first.
02:22:01 Cloning the remote Git repository
02:22:01 Cloning repository https://gerrit.wikimedia.org/r/p/performance/WebPageTest.git
02:22:01 > git init /srv/jenkins/workspace/workspace/performance-webpagetest-linux-wmf # timeout=10
02:22:01 Fetching upstream changes from https://gerrit.wikimedia.org/r/p/performance/WebPageTest.git
{"traceEvents":[{"pid":56557,"tid":775,"ts":0,"ph":"I","cat":"disabled-by-default-devtools.timeline","name":"TracingStartedInPage","args":{"data":{"page":"0x478be021e8"}},"s":"t"},{"args":{"number":4},"cat":"__metadata","name":"num_cpus","ph":"M","pid":56549,"tid":0,"ts":0},{"args":{"sort_index":-5},"cat":"__metadata","name":"process_sort_index","ph":"M","pid":56549,"tid":775,"ts":0},{"args":{"name":"Renderer"},"cat":"__metadata","name":"process_name","ph":"M","pid":56549,"tid":775,"ts":0},{"args":{"uptime":0},"cat":"__metadata","name":"process_uptime_seconds","ph":"M","pid":56549,"tid":775,"ts":0},{"args":{"sort_index":-1},"cat":"__metadata","name":"thread_sort_index","ph":"M","pid":56549,"tid":775,"ts":0},{"args":{"name":"CrRendererMain"},"cat":"__metadata","name":"thread_name","ph":"M","pid":56549,"tid":775,"ts":0},{"args":{"number":4},"cat":"__metadata","name":"num_cpus","ph":"M","pid":56543,"tid":0,"ts":0},{"args":{"sort_index":-6},"cat":"__metadata","name":"process_sort_index","ph":"M","pid":56543,"tid"
@soulgalore
soulgalore / wpt.har
Created January 17, 2018 08:10
PageXray picks up wrong http version
{"log":{"version":"1.1","creator":{"name":"WebPagetest","version":"17.12"},"browser":{"name":"Chrome","version":"63.0.3239.132"},"pages":[{"startedDateTime":"2018-01-17T08:03:33.827+00:00","title":"Run 1, First View for https://en.wikipedia.org/wiki/Barack_Obama","id":"page_1_0_1","pageTimings":{"onLoad":5272,"onContentLoad":-1,"_startRender":2500},"_minify_total":-1,"_responses_200":95,"_testStartOffset":0,"_bytesOut":48608,"_gzip_savings":0,"_requestsFull":95,"_start_epoch":0,"_connections":2,"_bytesOutDoc":47484,"_result":0,"_final_base_page_request_id":"46430.3","_base_page_dns_ns":"ns1.wikimedia.org","_basePageSSLTime":54,"_docTime":5272,"_domContentLoadedEventEnd":605,"_image_savings":39380,"_requestsDoc":93,"_score_cookies":-1,"_base_page_ip_ptr":"text-lb.eqiad.wikimedia.org","_score_cdn":0,"_optimization_checked":1,"_score_minify":-1,"_gzip_total":550009,"_responses_404":0,"_loadTime":5272,"_URL":"https://en.wikipedia.org/wiki/Barack_Obama","_score_combine":-1,"_score_etags":-1,"_image_total":804962,"