Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/flamegrill
Flame Grill Your Webpages for Easy Digestion
https://github.com/microsoft/flamegrill
flamegraphs frontend performance typescript
Last synced: 3 months ago
JSON representation
Flame Grill Your Webpages for Easy Digestion
- Host: GitHub
- URL: https://github.com/microsoft/flamegrill
- Owner: microsoft
- License: mit
- Created: 2019-08-01T19:52:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T10:55:21.000Z (4 months ago)
- Last Synced: 2024-09-21T06:34:48.419Z (3 months ago)
- Topics: flamegraphs, frontend, performance, typescript
- Language: HTML
- Homepage: https://microsoft.github.io/flamegrill
- Size: 9.31 MB
- Stars: 18
- Watchers: 5
- Forks: 19
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: change/flamegrill-426a61e3-1a9d-45fc-a33c-eb3a9a0d3286.json
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# flamegrill
flame grill your webpages for easy digestion
## Prerequisites
web page to test
## Usage
```
flamegrill [command] [options]
```## Commands
### cook (default)
run flamegrill against specified input
## Options
### --name, -n
name for given scenario
### --scenario, -s
URL for scenario under test
### --baseline, -b
optional baseline scenario to compare against
### --temp-dir, -t
location to store intermediate files (default: cwd)
### --out-dir, -o
location to store test results (default: cwd)
### --help, -?, -h
help message
## Examples
The following invocations perform the tests using a scenario that you can find [here](https://github.com/OfficeDev/office-ui-fabric-react/blob/master/apps/perf-test/src/scenarios/SplitButtonNew.tsx).
```
$ flamegrill cook -n SplitButton -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000"$ flamegrill cook -n SplitButton -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000" -b "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButton&iterations=5000"
$ flamegrill cook -n SplitButtonNew -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000" -o out -t temp
```## Open Source Credits
[Flamebearer](https://github.com/mapbox/flamebearer) is an inspiration for this project and is used to generate flamegraphs. Parts of Flamebearer have been modified and expanded upon to add more functionality to the flamegraphs.
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.