Skip to content

@carl-mastrangelo carl-mastrangelo released this Nov 16, 2019 · 6 commits to master since this release

Bug Fixes

  • Fixed a bug where Events without tags were not treated by the trace writer
  • Fixed a bug where Base64 encoding of the TraceViewer can't be parsed by the browser
Assets 2

@carl-mastrangelo carl-mastrangelo released this Nov 10, 2019 · 6 commits to master since this release

Changes

  • PerfMark task starts, stops, and events can now accept a "sub" task, as a second parameter. This makes it possible to avoid doing String concatenation when PerfMark is disabled
  • Expose named tagging methods, also overloaded as attachTag. These tags are different from Tag as they have a name associated with the value.
  • Add two-long tag variant, to accept 128 bit tag values. In the future, 128bit tags can be used for UUIDs, IPv6 addresses, and other larger tag spaces.
Assets 2

@carl-mastrangelo carl-mastrangelo released this Nov 10, 2019 · 30 commits to master since this release

Changes:

  • Removed @CompileTimeConstant from PerfMark, and instead relaxed to just being a runtime constant.
  • Fixed bug where the start time of recording only was calculated after being enabled
  • Made trace writer unconditionally flush after writing HTML.
Assets 2

@carl-mastrangelo carl-mastrangelo released this Nov 10, 2019 · 41 commits to master since this release

Changes:

  • Added an attachTag method to allow multiple tags per task
  • Updated error prone plugin.
Assets 2

@carl-mastrangelo carl-mastrangelo released this Jul 7, 2019 · 50 commits to master since this release

API changes

  • PerfMark.link() and Link.link() are both deprecated and have been made into no-ops. These methods are replaced with the equivalent PerfMark.linkOut() and PerfMark.linkIn(Link) methods, which fit better with other API methods.
  • Tags passed in to tracing calls are not checked for null until much later. Passing null was not allowed, but checking for it add unnecessary overhead when PerfMark was disabled. Users should continue to avoid passing null.

New Features

  • A TraceEventViewer class has been added, which aids in the generation of the trace UI. Users can now call TraceEventViewer.writeTraceHtml() to render the trace data, instead of having to pass the JSON to catapult. Note: this is not yet API stable, as the catapult trace viewer may not be maintained in the future.
Assets 2

@carl-mastrangelo carl-mastrangelo released this Jun 6, 2019 · 102 commits to master since this release

This removes more of the binary size.

Assets 2

@carl-mastrangelo carl-mastrangelo released this Jun 6, 2019 · 107 commits to master since this release

Reworked the API some to be more usable on android.

Assets 2
Jun 3, 2019
Release 0.14.0

@carl-mastrangelo carl-mastrangelo released this Jun 1, 2019 · 125 commits to master since this release

Includes:

  • API for recording
  • Java 6, 7, and 9 implementations for recording
  • A Chrome trace-event generator.
Assets 2
You can’t perform that action at this time.