package
0.0.0-20240830213112-630ee59b8e56
Repository: https://github.com/alecthomas/go_serialization_benchmarks.git
Documentation: pkg.go.dev

# Functions

BenchMarshalSmallStruct benchmarks marshalling the [SmallStruct] type.
BenchUnmarshalSmallStruct benchmarks unmarshalling the [SmallStruct] type.

# Constants

MaxSmallStructNameSize is the max size of a name used in the small struct benchmarks.
MaxSmallStructPhoneSize is the max size of a phone used in the small struct benchmarks.

# Structs

SmallStruct is a test structure of small size.

# Interfaces

Serializer is the main interface for the serializer benchmarks.
SerializerEnforcesTimezone is a serializer that enforces a specific timezone when marshalling/unmarshalling time.Time fields.
SerializerLimitsFloat64Precision is a serializer that enforces a maximum precision when marshalling/unmarshalling float64 fields.
SerializerTimePrecision is a serializer that specifies the max precision that a time.Time is encodable.