Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mlperf and fmwork parser #18

Merged
merged 2 commits into from
Jun 20, 2023
Merged

Add mlperf and fmwork parser #18

merged 2 commits into from
Jun 20, 2023

Conversation

sunya-ch
Copy link
Member

This PR introduces two new parsers: mlperf and fmwork.

> go test -v parser/mlperf_test.go
=== RUN   TestParseValue
Values: map[50.00 percentile latency (ns):1.7262256186e+10 90.00 percentile latency (ns):1.9659521727e+10 95.00 percentile latency (ns):2.0100803434e+10 97.00 percentile latency (ns):2.0256134523e+10 99.00 percentile latency (ns):2.0441735627e+10 99.90 percentile latency (ns):2.0531572606e+10 Max latency (ns):2.0531572606e+10 Mean latency (ns):1.6889626007e+10 Min latency (ns):1.2087032686e+10 Samples per second:1196.99]
--- PASS: TestParseValue (0.00s)
=== RUN   TestGetPerformanceValue
PKey: Samples per second, Pvalue: 1196.99
--- PASS: TestGetPerformanceValue (0.00s)
PASS
ok  	command-line-arguments	1.209s

 > go test -v parser/fmwork_test.go
=== RUN   TestParseValue
Values: map[Tokens per iteration:2 avg ms/token:17.369209871 avg s/iter:0.03473842 avg seqs/s:28.786571393 avg tokens/s:57.573142786 max ms/token:579.050555 max s/iter:1.15810111 max seqs/s:0.863482464 max tokens/s:1.726964928 med ms/token:15.91811675 med s/iter:0.031836234 med seqs/s:31.410750898 med tokens/s:62.821501796 min ms/token:15.857538 min s/iter:0.031715076 min seqs/s:31.530745819 min tokens/s:63.061491639 p95 ms/token:16.045740625 p95 s/iter:0.032091481 p95 seqs/s:31.16091751 p95 tokens/s:62.32183502 std s/iter:0.056241701]
--- PASS: TestParseValue (0.00s)
=== RUN   TestGetPerformanceValue
PKey: p95 s/iter, Pvalue: 0.03
--- PASS: TestGetPerformanceValue (0.00s)
PASS
ok  	command-line-arguments	0.120s

Signed-off-by: Sunyanan Choochotkaew [email protected]

Signed-off-by: Sunyanan Choochotkaew <[email protected]>
Signed-off-by: Sunyanan Choochotkaew <[email protected]>
@sunya-ch sunya-ch merged commit 8999c64 into IBM:main Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant