https://github.com/jetsetilly/gopher2600_performance_profiles
temporary repository to hold performance profiles for gopher2600 when compiled with different versions of the go compiler
https://github.com/jetsetilly/gopher2600_performance_profiles
Last synced: about 1 month ago
JSON representation
temporary repository to hold performance profiles for gopher2600 when compiled with different versions of the go compiler
- Host: GitHub
- URL: https://github.com/jetsetilly/gopher2600_performance_profiles
- Owner: JetSetIlly
- Created: 2024-02-09T18:50:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-10T08:36:22.000Z (about 1 year ago)
- Last Synced: 2025-01-29T19:17:00.138Z (3 months ago)
- Language: Go
- Size: 37.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gopher2600_performance_profiles
main.go is the minimum code necessary to run the [gopher2600](https://github.com/JetSetIlly/Gopher2600)
project in `performance` measurment mode.Build the executable with 'go build .'
PGO files are supplied. `default.pgo` is suitable for Go v1.22.0 and `default_1.21.0.pgo` for earlier versions
Run the executable with no arguments. By default each invocation of the tool will run for 1
minute.Benchstat and CPU profiles, etc. can be specified by command line argument
```
Usage of gopher2600_performance_profiles:
-benchstat
record benchstats to file
-duration string
duration of execution (default "1m")
-profile string
run with profiling: CPU, MEM, TRACE, ALL (default "none")
-uncapped
run emulation with no FPS cap (default true)
```Output of `-benchstat` can be used with the [benchstat tool](https://pkg.go.dev/golang.org/x/perf/cmd/benchstat). It can also be used with the program in the `smooth` directory. This program compares two benchstat files and tries to identify which of the two is "smoother". ie. has less jitter in the input data