Skip to content

ashutosh-narkar/json-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Unmarshal Memory Usage

This repository contains scripts to analyze memory usage of json.Unmarshal.

To run benchmarks

go test -bench=. -memprofile=m.p json_bench_test.go

To view memory profile run go tool pprof -png m.p > out.png

main.go contains code to see the memory impact of json.Unmarshal on string, slice and object of varying lengths.

Results from running above tests can be found here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages