https://github.com/fitzgen/servo-trace-dump
JS and CSS for Servo's HTML timelines
https://github.com/fitzgen/servo-trace-dump
Last synced: 6 months ago
JSON representation
JS and CSS for Servo's HTML timelines
- Host: GitHub
- URL: https://github.com/fitzgen/servo-trace-dump
- Owner: fitzgen
- Created: 2016-05-09T17:33:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-31T21:28:12.000Z (over 9 years ago)
- Last Synced: 2025-10-29T00:46:11.866Z (8 months ago)
- Language: HTML
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `servo-trace-dump`
[](https://travis-ci.org/fitzgen/servo-trace-dump)
This repository contains the JS and CSS that gets embedded in the
[self-contained HTML timelines generated by Servo's `--profiler-trace-path` flag](https://github.com/servo/servo/wiki/Profiling#generating-timelines).
This exists as a separate repository to enable easy unit testing of the JS code.
## Testing
Requires `node` and `npm`.
First time set up:
```
$ npm install --dev
```
After the dependencies are installed, run the tests like this:
```
$ npm test
```
We use the [mocha](http://mochajs.org/) test runner, and the
[chai](http://chaijs.com/) assertion library. Add new test cases to the
`test.js` file.
## Updating Servo's Copy
To udate Servo's copy of these files, run the `update-servo` script:
```
$ ./update-servo ~/path/to/servo
```