Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] remove all benchmark related code #5336

Merged
merged 1 commit into from
Mar 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/node-tests
/tests
/tmp
/benchmarks
/bin
/docs

Expand Down
1 change: 0 additions & 1 deletion benchmarks/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions benchmarks/BenchmarkGuide.md

This file was deleted.

8 changes: 0 additions & 8 deletions benchmarks/bash-analyze.js

This file was deleted.

7 changes: 0 additions & 7 deletions benchmarks/bash-run.js

This file was deleted.

75 changes: 0 additions & 75 deletions benchmarks/config.js

This file was deleted.

7 changes: 0 additions & 7 deletions benchmarks/index.js

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
36 changes: 1 addition & 35 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,44 +1,10 @@
/* eslint-env node */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
var merge = require('broccoli-merge-trees');
var Funnel = require('broccoli-funnel');
var yuidoc = require('./lib/yuidoc');
var StripClassCallCheck = require('babel6-plugin-strip-class-callcheck');
var path = require('path');

// allow toggling of heimdall instrumentation
var INSTRUMENT_HEIMDALL = false;
var args = process.argv;

for (var i = 0; i < args.length; i++) {
if (args[i] === '--instrument') {
INSTRUMENT_HEIMDALL = true;
break;
}
}

module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
// use babel6 options until we are using ember-cli@2.13
babel6: {
postTransformPlugins: [
// while ember-data strips itself, ember does not currently
[StripClassCallCheck]
]
}
});

if (INSTRUMENT_HEIMDALL) {
console.warn('IMPORTED HEIMDALL & SET EMBER TO PRODUCTION');
var heimdallTree = new Funnel('node_modules/heimdalljs', {
destDir: 'heimdalljs'
});

app.trees.vendor = merge([app.trees.vendor, heimdallTree]);

app.import('vendor/heimdalljs/dist/heimdalljs.iife.js', {prepend: true});
app.vendorFiles['ember.js'].development = path.join(app.bowerDirectory, 'ember/ember.prod.js');
}
var app = new EmberAddon(defaults, {});

/*
This build file specifies the options for the dummy test app of this
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,11 @@
"ember-source-channel-url": "^1.0.1",
"ember-try": "^0.2.23",
"ember-watson": "^0.7.0",
"express": "^4.14.0",
"faker": "^3.1.0",
"github": "^1.1.1",
"glob": "^5.0.13",
"heimdall-query": "^0.1.0",
"json-api-mock-server": "0.1.1",
"loader.js": "^4.5.0",
"mocha": "^2.4.5",
"mocha-only-detector": "0.0.2",
"morgan": "^1.7.0",
"rimraf": "2.5.2",
"rsvp": "4.8.0",
"testdouble": "^3.2.6",
Expand Down
13 changes: 0 additions & 13 deletions server/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions server/models/baz.js

This file was deleted.

13 changes: 0 additions & 13 deletions server/models/complex.js

This file was deleted.

12 changes: 0 additions & 12 deletions server/models/foo.js

This file was deleted.

13 changes: 0 additions & 13 deletions server/models/heavy-baz.js

This file was deleted.

12 changes: 0 additions & 12 deletions server/models/heavy-foo.js

This file was deleted.

13 changes: 0 additions & 13 deletions server/models/heavy.js

This file was deleted.

9 changes: 0 additions & 9 deletions server/models/simple.js

This file was deleted.

6 changes: 0 additions & 6 deletions server/scenarios/default.js

This file was deleted.

5 changes: 0 additions & 5 deletions tests/dummy/app/adapters/application.js

This file was deleted.

14 changes: 0 additions & 14 deletions tests/dummy/app/models/baz.js

This file was deleted.

15 changes: 0 additions & 15 deletions tests/dummy/app/models/complex.js

This file was deleted.

14 changes: 0 additions & 14 deletions tests/dummy/app/models/foo.js

This file was deleted.

15 changes: 0 additions & 15 deletions tests/dummy/app/models/heavy-baz.js

This file was deleted.

14 changes: 0 additions & 14 deletions tests/dummy/app/models/heavy-foo.js

This file was deleted.

Loading