angular-cn/packages
Mike Giambalvo 06d04002fd fix(benchpress): Use performance.mark() instead of console.time() (#24114)
Previously, benchpress would use `console.time()` and
`console.timeEnd()` to measure the start and end of a test in the
performance log. This used to work over navigations - if you called
`console.time(id)` then navigated to a different page, calling
`console.timeEnd(id)` would still insert an event in the performance
log.

As of Chrome 65, this is no longer the case. `console.timeEnd(id)` will
simply not insert an event in the performance log unless
`console.time(id)` was called on the same page. Likewise, using
`performance.measure()` does not work if the starting mark was on a
different page.

This simple workaround uses `performance.mark()` to insert events in the
performance log at the start and end of the test. Benchpress looks for
'-bpstart' and '-bpend' in the name of the performance mark, and
normalizes that to the start and end events expected by PerflogMetric

PR Close #24114
2018-08-30 21:33:40 -07:00
..
animations build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
bazel fix(bazel): protractor rule should include *.e2e-spec.js (#25701) 2018-08-30 21:21:27 -07:00
benchpress fix(benchpress): Use performance.mark() instead of console.time() (#24114) 2018-08-30 21:33:40 -07:00
common feat: add TypeScript 3 support (#25275) 2018-08-27 21:07:53 -04:00
compiler fix(core): size regression with closure compiler (#25531) 2018-08-30 21:22:40 -07:00
compiler-cli refactor(compiler-cli): remove tsickle from dependencies (#25649) 2018-08-28 16:44:43 -04:00
core feat(elements): enable Shadow DOM v1 and slots (#24861) 2018-08-30 21:33:14 -07:00
docs
elements feat(elements): enable Shadow DOM v1 and slots (#24861) 2018-08-30 21:33:14 -07:00
examples fix(core): In Testability.whenStable update callback, pass more complete (#25010) 2018-08-06 13:49:19 -07:00
forms refactor(forms): `ngForm` element selector has been deprecated in favor of `ng-form` (#23721) 2018-08-02 08:34:43 -07:00
http docs(http): fixed example unit test for error catching (#25306) 2018-08-06 11:31:57 -07:00
language-service feat: add TypeScript 3 support (#25275) 2018-08-27 21:07:53 -04:00
platform-browser feat(elements): enable Shadow DOM v1 and slots (#24861) 2018-08-30 21:33:14 -07:00
platform-browser-dynamic refactor(ivy): cleanup the public API for core/testing (#25492) 2018-08-15 09:53:17 -07:00
platform-server build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
platform-webworker test(platform-webworker): avoid flakes due to existing `PlatformRef` (#24916) 2018-07-20 10:47:17 -07:00
platform-webworker-dynamic ci(ivy): configure CI environments for Ivy JIT and AOT (#24309) 2018-06-08 13:34:27 -07:00
private/testing build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
router fix(router): default scroll position restoration to disabled (#25586) 2018-08-21 10:48:14 -07:00
service-worker feat: add TypeScript 3 support (#25275) 2018-08-27 21:07:53 -04:00
upgrade test(upgrade): reduce flaky-ness by increasing timeout (#24937) 2018-08-06 14:52:50 -07:00
BUILD.bazel build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
README.md
empty.ts
es6-subset.d.ts
goog.d.ts
license-banner.txt
rollup.config.js
system.d.ts
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-metadata.json
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
types.d.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT