Skip to content

Instantly share code, notes, and snippets.

@nikhita
Last active May 26, 2017 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikhita/3d5685ad22b3b377f50c9484be12c3c3 to your computer and use it in GitHub Desktop.
Save nikhita/3d5685ad22b3b377f50c9484be12c3c3 to your computer and use it in GitHub Desktop.
Benchmarks for go json schema libraries (validation). Using the standard json schema libraries.

Benchmarks

BenchmarkOpenAPI-4        	    5000	    240116 ns/op	   71790 B/op	     649 allocs/op
BenchmarkGoJSONSchema-4   	    5000	    314191 ns/op	   66629 B/op	     965 allocs/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment