MCPcopy Index your code
hub / github.com/eviltrout/ember-performance

github.com/eviltrout/ember-performance @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,295 symbols 9,895 edges 50 files 218 documented · 5%

Browse by type

Functions 3,931 Types & classes 364
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ember Performance Suite

The Ember Performance Suite is designed to help profile and diagnose the performance of the Ember.js framework. The general strategy is:

  • Browsers have a large variance in performance characteristics, so run each test in a new document, storing the results in localStorage.

  • Use benchmark.js for micro benchmarks and a different strategy for macro benchmarks.

  • Record Baseline performance so that we can compare Ember to the baseline performance of the platform it's run on.

bench.json

  • name: humanized name
  • description: TL;DR of the benchmark, sometimes notes can be handy to display
  • keywords: these are meant to label/categorize tests, allowing tooling and users to quickly group and differentiate
  • disabled: allows for a test to be entirely disabled

To run in development mode

  1. npm install
  2. npm install -g bower
  3. bower install
  4. npm run server
  5. bin/launch-chrome http://localhost:4200

To build for production mode

  1. npm install
  2. npm install -g bower
  3. npm run prod-server

And open a browser to http://localhost:4200

Adding a new Ember Version

To add a new ember version, you'll need to build a production bundle. Navigate to an empty scratch directory outside of this project, install ember-cli, then run:

VERSION=4.0.1
ember new myapp --yarn --skip-git --skip-bower --no-welcome
cd myapp
yarn add -D ember-source@$VERSION

Edit ember-cli-build.js to disable minification and sourcemaps:

let app = new EmberApp(defaults, {
  'ember-cli-terser': { enabled: false },
  sourcemaps: { enabled: false },
});
yarn build --target production
mv dist/assets/vendor-*.js ../../ember-performance/ember/ember-$VERSION.prod.js
mv node_modules/ember-source/dist/ember-template-compiler.js ../../ember-performance/ember/ember-$VERSION.template-compiler.js

License

MIT

Core symbols most depended-on inside this repo

Shape

Function 2,727
Method 1,204
Class 364

Languages

TypeScript100%

Modules by API surface

ember/ember-4.0.1.template-compiler.js1,189 symbols
ember/ember-3.12.4.template-compiler.js683 symbols
ember/ember-3.8.3.template-compiler.js652 symbols
ember/ember-3.28.8.template-compiler.js534 symbols
ember/ember-3.24.4.template-compiler.js395 symbols
ember/ember-3.20.6.template-compiler.js381 symbols
ember/ember-3.16.10.template-compiler.js298 symbols
ember/jquery-2.1.1.min.js63 symbols
ember/handlebars.js41 symbols
test-client/test-client.js17 symbols
app/controllers/index.js10 symbols
benchmarks/render-complex-html-glimmer/index.js5 symbols

For agents

$ claude mcp add ember-performance \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page