Skip to content

calderas/leaky-mcleakerson

 
 

Repository files navigation

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.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.6%
  • HTML 18.4%