11 Commits

Author SHA1 Message Date
Alexandr Mayorskiy 0aa9db2e59 gofmt -s 2020-04-15 00:28:30 +03:00
Carlo Alberto Ferraris c124e4243f Implement optional string interning
Fixes https://github.com/mailru/easyjson/issues/191
2020-04-08 08:08:39 +09:00
Aleksandr Razumov 81f2536554 better track tool dependencies 2019-08-30 12:51:08 +03:00
Aleksandr Razumov aef59a06fb fix bench-other
* Update bench-other make command
* Update benchmark dependencies
* Re-generate data_{codec,ffjson}.go as they were broken
2019-08-29 18:48:49 +03:00
Aleksandr Razumov dde7f5d748 use go modules 2019-08-29 18:26:29 +03:00
Anton 8b2f92253d fix problem with installation on 32-bit system 2017-11-04 21:24:12 +03:00
Vladimir Varankin bb658fd1b2 add jsoniter to benchmarks 2017-09-02 16:41:07 +03:00
Long Hoang 8d50f5104d Introduce build tags to disable unsafe package usage
Package `unsafe` is used in jlexer to prevent copying when casting from []byte to string, speeding up the marshalling process to a large extent. However, `unsafe` is not allowed in environments such as Google Appengine.

Therefore two build tags are introduced, which either of them can disable the use of unsafe package, falling back to conventional copy-based []byte to string conversion. The build tags are `easyjson_nounsafe` and `appengine` (which is set when building for Google Appengine)
2017-02-26 18:11:07 +08:00
Victor Starodub 5f55e7254a Parallel benchmarks for go/codec. 2016-03-04 11:44:07 +10:00
Victor Starodub e8a814a5b5 Added a benchmark for github.com/ugorji/go/codec . Consistent naming for benchmarks. 2016-03-04 11:29:01 +10:00
Victor Starodub 5d497db34c Initial commit. 2016-02-28 03:16:29 +03:00