Skip to content

Commit 7567a92

Browse files
filipesilvaKeen Yee Liau
authored and
Keen Yee Liau
committed
test: add AIO benchmark
1 parent c262527 commit 7567a92

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

Diff for: benchmark/aio/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
angular/

Diff for: benchmark/aio/package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "aio-benchmark",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"initialize": "yarn clone && yarn setup && yarn update",
8+
"clone": "(git clone https://github.com/angular/angular --depth 1 || true) && cd angular && git fetch origin dd2a650c3455f3bc0a88f8181758a84aacb25fea && git checkout -f FETCH_HEAD",
9+
"setup": "cd angular && yarn && cd aio && yarn && yarn setup",
10+
"//": "Shouldn't need to install the package twice, but the first install seems to leave two @ngtools/webpack installs around.",
11+
"update": "cd angular/aio && yarn add ../../../../dist/@angular-devkit_build-angular.tgz --dev && yarn add ../../../../dist/_angular-devkit_build-angular.tgz --dev",
12+
"benchmark": "cd angular/aio && benchmark --verbose -- yarn ~~build --configuration=stable"
13+
},
14+
"keywords": [],
15+
"author": "",
16+
"license": "ISC"
17+
}

Diff for: tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"packages/schematics/*/*/*files/**/*",
6565
"tmp/**/*",
6666
"scripts/patches/**/*",
67-
"tests/**/*"
67+
"tests/**/*",
68+
"benchmark/**/*",
6869
]
6970
}

0 commit comments

Comments
 (0)