Skip to content

drish/benchparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Gem Version

Benchparser

Benchparser is a parser for multiple benchmark output formats

Installation

gem 'benchparser'

Usage

Golang benchmark standard output

goos: darwin
goarch: amd64
pkg: github.com/drish/parser
BenchmarkFib1-8     1000000000           2.48 ns/op        0 B/op        0 allocs/op
PASS
ok    github.com/drish/parser 9.960s
require 'benchparser'

parsed = Bp.parse(:go, data)
parsed.language # go
parsed.configs[:goos] # darwin
parsed.configs[:pkg] # darwin
parsed.functions.count # 1
parsed.functions.first[:iterations] # 1000000000
parsed.functions.first[:ns_op] # 2.48
parsed.functions.first[:bytes_op] # 0
parsed.functions.first[:allocs_op] # 0

TODO

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/drish/benchparser.

About

Benchparser is a parser for multiple benchmark output formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages