Skip to content
New issue

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

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

Already on GitHub? # to your account

feature: automatically generate image from RunHistory #32

Open
hazcod opened this issue Feb 26, 2020 · 1 comment
Open

feature: automatically generate image from RunHistory #32

hazcod opened this issue Feb 26, 2020 · 1 comment
Labels

Comments

@hazcod
Copy link

hazcod commented Feb 26, 2020

Hi, I think it would be nice if we could generate an image from the JSON file to e.g. automatically display & replace the image on README.md on merge.

@bobheadxi
Copy link
Owner

bobheadxi commented Feb 26, 2020

Different export options from gobenchdata would be nice, but it might be a bit outside the scope of the project. Some options might be:

  • generating an image based on the web UI (ie the example screenshot in Graph per benchmark support #30)
  • parsing benchmarks.json and generating your own visualization:
	b, err := ioutil.ReadFile(f)
	if err != nil {
		panic(err)
	}
	var runs []bench.Run
	if err := json.Unmarshal(b, &runs); err != nil {
		panic(err)
	}

I'm open to thoughts though!

@bobheadxi bobheadxi changed the title Feature: generate image feature: automatically generate image from RunHistory May 6, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants