mirror of
https://github.com/bluetech/ng-annotate-patched.git
synced 2026-07-02 00:17:42 +08:00
add angularjs 1.2.23 source directly to tests (perf)
This commit is contained in:
+1
-2
@@ -26,8 +26,7 @@
|
||||
"coffee-script": "~1.8.0",
|
||||
"defs": "~0.6.2",
|
||||
"diff": "~1.0.8",
|
||||
"find-line-column": "~0.5.2",
|
||||
"angular": "~1.2.23"
|
||||
"find-line-column": "~0.5.2"
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
|
||||
+1
-2
@@ -171,8 +171,7 @@ run(function(src, options) {
|
||||
});
|
||||
|
||||
console.log("testing performance");
|
||||
const ngPath = path.resolve(require.resolve("angular"), "../lib/angular.js");
|
||||
const ng1 = fs.readFileSync(ngPath);
|
||||
const ng1 = fs.readFileSync("tests/angular.js");
|
||||
const ng5 = ng1 + ng1 + ng1 + ng1 + ng1;
|
||||
(function () {
|
||||
const startTime = Date.now();
|
||||
|
||||
Vendored
+21954
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user