Sparta v0.20.4 Release Notes
-
- 💥 :warning: BREAKING
- Changed
step.NewStateMachine
signature to include StateMachineName as first argument per Nov 15th, 2017 release
- Changed
:checkered_flag: CHANGES
- Add
profile
command - Profile snapshots are enabled via:
sparta.ScheduleProfileLoop(nil, 5*time.Second, 30*time.Second, "heap")
- Profile snapshots are published to S3 and are locally aggregated across all lambda instance publishers. To view the ui, run the
profile
Sparta command.- For more information, please see The new pprof user interface - ⭐️, Profiling Go programs with pprof, or the Go blog
- See the SpartaPProf sample for a service that installs profiling hooks.
- Ensure you have the latest
pprof
UI via go get -u -v github.com/google/pprof - The standard profile names are available, as well as a cpu type implied by a non-zero
time.Duration
supplied as the third parameter toScheduleProfileLoop
. - Eliminate unnecessary logging in AWS lambda environment
- Log NodeJS process.uptime()
- Add
🛠 :bug: FIXED
- Added more constructive message when working directory for
go build
doesn't containmain
package.
- Added more constructive message when working directory for
- 💥 :warning: BREAKING