Implement a performace-testing script
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
Most basically, the script would run a workload, then run the same workload under rr and compare elapsed wall-clock time. Something like
$ ./script/measure.sh firefox --blah
'firefox --blah' took 10.3s
'rr --record firefox --blah' took 13.6s
Later on it might also be interesting to measure context switches, memory usage, and other such things that we find are important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the repository's script/ directory and existing command conventions before defining script/measure.sh. The issue's baseline is to run a workload directly and under rr, report both elapsed wall-clock times, and leave later metrics such as context switches and memory usage out of the initial scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux, shell
- Domain
- devtools, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100