source code migrating from gitlab
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# The Benchmarks
|
||||
|
||||
|
||||
|
||||
## Info
|
||||
|
||||
If you want to measure the time and memory you can use the `time` function. In `zsh` and `bash` (maybe others) there is a built in `time` but you probably have one at `/usr/sbin/time`
|
||||
|
||||
|
||||
Here is the `TIMEFMT` I used to display the stats
|
||||
|
||||
```bash
|
||||
export TIMEFMT='%J'$'\n'\
|
||||
'user %U'$'\n'\
|
||||
'system %S'$'\n'\
|
||||
'total %E'$'\n'\
|
||||
'cpu %P'$'\n'\
|
||||
'max memory: %M KB'$'\n'
|
||||
```
|
||||
|
||||
|
||||
|
||||
Each directory contains a `Makefile` and the `build.sh` and `clean.sh` just go into each directory and call `make` and `make clean`
|
||||
|
||||
## Links
|
||||
|
||||
This is the GitHub repo for the Speed Tests [repo](https://github.com/jabbalaci/SpeedTests)
|
||||
|
||||
|
||||
|
||||
You can watch this video [here](https://youtu.be/Akfr_dcgZE8)
|
||||
|
||||
Reference in New Issue
Block a user