mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Add an aliases benchmark
This commit is contained in:
parent
98a98b1424
commit
03a289c9ef
2 changed files with 1103 additions and 0 deletions
1102
benchmarks/benchmarks/aliases.fish
Normal file
1102
benchmarks/benchmarks/aliases.fish
Normal file
File diff suppressed because it is too large
Load diff
|
@ -108,6 +108,7 @@ static void print_rusage_self(FILE *fp) {
|
|||
fprintf(fp, " rusage self:\n");
|
||||
fprintf(fp, " user time: %llu ms\n", tv_to_msec(rs.ru_utime));
|
||||
fprintf(fp, " sys time: %llu ms\n", tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " total time: %llu ms\n", tv_to_msec(rs.ru_utime) + tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " max rss: %ld kb\n", rss_kb);
|
||||
fprintf(fp, " signals: %ld\n", rs.ru_nsignals);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue