Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanpenner/leaker
https://github.com/stefanpenner/leaker
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stefanpenner/leaker
- Owner: stefanpenner
- Created: 2015-11-27T17:46:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-01T03:39:54.000Z (almost 9 years ago)
- Last Synced: 2024-10-17T18:08:12.648Z (20 days ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leaky-Mcleakerson
This repo shows memory retention between acceptance tests.
###
1. Run the tests
2. Take a heap snapshot
3. Look for filter for DocumentFragment see detached DOM Trees
4. Record the timeline, listeners never clean up, memory goes up overtime
5. Inspect memory stats (needs memory flag for chrome) on the console using:
```
window._profiling.tests
JSON.stringify(window._profiling.tests)
console.table(window._profiling.tests)
```## Prerequisites
You will need the following things properly installed on your computer.
* [Git](http://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM)
* [Bower](http://bower.io/)
* [Ember CLI](http://www.ember-cli.com/)
* [PhantomJS](http://phantomjs.org/)## Installation
* `git clone ` this repository
* change into the new directory
* `npm install`
* `bower install`## Running / Development
* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).### Code Generators
Make use of the many generators for code, try `ember help generate` for more details
### Running Tests
* `ember test`
* `ember test --server`### Building
* `ember build` (development)
* `ember build --environment production` (production)### Deploying
Specify what it takes to deploy your app.
## Further Reading / Useful Links
* [ember.js](http://emberjs.com/)
* [ember-cli](http://www.ember-cli.com/)
* Development Browser Extensions
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)