This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://bugzilla.mozilla.org/show_bug.cgi?id=1206649#c11 | |
1) Install HAR Export Trigger extension | |
https://addons.mozilla.org/en-US/firefox/addon/har-export-trigger/ | |
(you need Firefox 42+) | |
2) Set the following prefs in your Firefox profile: | |
devtools.netmonitor.har.enableAutoExportToFile;true // auto export when page load finishes | |
extensions.netmonitor.har.autoConnect;true // This one allows exporting without the Toolbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[6656] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file c:/builds/moz2_slave/try-w32-d-00000000000 | |
000000000/build/src/xpcom/base/nsSystemInfo.cpp, line 116 | |
[6656] WARNING: CheckLinkStatus called on main thread! No check performed. Assuming link is up, status is unknown.: file | |
c:/builds/moz2_slave/try-w32-d-00000000000000000000/build/src/netwerk/system/win32/nsNotifyAddrListener.cpp, line 707 | |
[6656] WARNING: This method is lossy. Use GetCanonicalPath !: file c:/builds/moz2_slave/try-w32-d-00000000000000000000/b | |
uild/src/xpcom/io/nsLocalFileWin.cpp, line 3576 | |
[6656] WARNING: DWM not enabled, falling back to software vsync: file c:/builds/moz2_slave/try-w32-d-0000000000000000000 | |
0/build/src/gfx/thebes/gfxWindowsPlatform.cpp, line 1958 | |
[GPU 7176] WARNING: '!compMgr', file c:/builds/moz2_slave/try-w32-d-00000000000000000000/build/src/xpcom/glue/nsComponen | |
tManagerUtils.cpp, line 63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import copy | |
with open('test.json') as fh: | |
o = json.load(fh) | |
result = copy.deepcopy(o) | |
for case_name in o: | |
for browser_type in o[case_name]: | |
new_origin_values = [] | |
for values in o[case_name][browser_type]['origin_values']: | |
new_origin_values.append({"load": values[0], "si": values[1], "psi": values[2], "video":values[3], "ip": values[4]}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pp | |
import os | |
import time | |
import subprocess | |
import shutil | |
import cv2 | |
import sys | |
import numpy | |
import argparse | |
from argparse import ArgumentDefaultsHelpFormatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy | |
def convert_to_dct(image_fp, skip_status_bar_fraction=1.0): | |
dct_obj = None | |
try: | |
img_obj = cv2.imread(image_fp) | |
height, width, channel = img_obj.shape | |
height = int(height * skip_status_bar_fraction) - int(height * skip_status_bar_fraction) % 2 | |
img_obj = img_obj[:height][:][:] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer