Skip to content

Commit

Permalink
test: add AIO benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and Keen Yee Liau committed Sep 10, 2018
1 parent c262527 commit 7567a92
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions benchmark/aio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular/
17 changes: 17 additions & 0 deletions benchmark/aio/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "aio-benchmark",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"initialize": "yarn clone && yarn setup && yarn update",
"clone": "(git clone https://github.com/angular/angular --depth 1 || true) && cd angular && git fetch origin dd2a650c3455f3bc0a88f8181758a84aacb25fea && git checkout -f FETCH_HEAD",
"setup": "cd angular && yarn && cd aio && yarn && yarn setup",
"//": "Shouldn't need to install the package twice, but the first install seems to leave two @ngtools/webpack installs around.",
"update": "cd angular/aio && yarn add ../../../../dist/@angular-devkit_build-angular.tgz --dev && yarn add ../../../../dist/_angular-devkit_build-angular.tgz --dev",
"benchmark": "cd angular/aio && benchmark --verbose -- yarn ~~build --configuration=stable"
},
"keywords": [],
"author": "",
"license": "ISC"
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"packages/schematics/*/*/*files/**/*",
"tmp/**/*",
"scripts/patches/**/*",
"tests/**/*"
"tests/**/*",
"benchmark/**/*",
]
}

0 comments on commit 7567a92

Please sign in to comment.