All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Refactor
bootstrap.js
to load wrapper handler fromsrc
directory of themiddy-profiler
package
- Add option (
report.durationThreshold
) based configuration support for "report duration threshold" feature
- Add "report duration threshold" support (configured by
MIDDY_PROFILER_REPORT_DURATION_THRESHOLD
env var) to be able to report profiling data conditionally if the invocation duration is higher than the specified threshold
- Handle "start-delay" support at coldstart
- Add "start-delay" support (configured by
MIDDY_PROFILER_START_DELAY
env var orstartDelay
option) to be able to start profiler after specified time (for ex. invocation took longer than expected)
- Finish profiler (and report data) just before timeout occurs
- Add env var flag (
MIDDY_PROFILER_ENABLE
which istrue
by default) to be able to enable/disable profiler
- Support standalone mode to be able to use profiler without
middy
framework
- Support profiling since init phase at coldstart
- Reduce coldstart overhead for the initialization of the profiler
- Ready to use public release
- Initial release