mirror of
https://github.com/servo/servo.git
synced 2025-08-20 04:45:33 +01:00
Bug 10452 - Page Load Time Test Runner
This commit is contained in:
parent
a83fed2144
commit
13b8f2531c
15 changed files with 1485 additions and 0 deletions
2
etc/ci/performance/firefox/addon/README.md
Normal file
2
etc/ci/performance/firefox/addon/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
#Servo Performance Comparison
|
||||
Monitor website rendering performance
|
1
etc/ci/performance/firefox/addon/data/perf.js
Symbolic link
1
etc/ci/performance/firefox/addon/data/perf.js
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../user-agent-js/01.perf-timing.js
|
8
etc/ci/performance/firefox/addon/index.js
Normal file
8
etc/ci/performance/firefox/addon/index.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
var self = require("sdk/self");
|
||||
var pageMod = require("sdk/page-mod");
|
||||
|
||||
pageMod.PageMod({
|
||||
include: "*",
|
||||
contentScriptFile: self.data.url('perf.js'),
|
||||
attachTo: ["top", "existing"]
|
||||
});
|
16
etc/ci/performance/firefox/addon/package.json
Normal file
16
etc/ci/performance/firefox/addon/package.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"title": "Servo Performance Comparison",
|
||||
"name": "addon",
|
||||
"version": "0.0.1",
|
||||
"description": "Monitor website rendering performance",
|
||||
"main": "index.js",
|
||||
"author": "The Servo team",
|
||||
"engines": {
|
||||
"firefox": ">=38.0a1",
|
||||
"fennec": ">=38.0a1"
|
||||
},
|
||||
"license": "MPL",
|
||||
"keywords": [
|
||||
"jetpack"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue