jsonparser: github.com/qntfy/jsonparser/benchmark Index | Files

package benchmark

import "github.com/qntfy/jsonparser/benchmark"

Index

Package Files

benchmark.go benchmark_codecgen.go benchmark_easyjson.go benchmark_ffjson.go

type CBAvatar Uses

type CBAvatar struct {
    Url string
}

Medium payload (based on Clearbit API response)

func (*CBAvatar) CodecDecodeSelf Uses

func (x *CBAvatar) CodecDecodeSelf(d *codec1978.Decoder)

func (*CBAvatar) CodecEncodeSelf Uses

func (x *CBAvatar) CodecEncodeSelf(e *codec1978.Encoder)

func (*CBAvatar) MarshalEasyJSON Uses

func (v *CBAvatar) MarshalEasyJSON(w *jwriter.Writer)

func (*CBAvatar) MarshalJSON Uses

func (mj *CBAvatar) MarshalJSON() ([]byte, error)

func (*CBAvatar) MarshalJSONBuf Uses

func (mj *CBAvatar) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CBAvatar) UnmarshalEasyJSON Uses

func (v *CBAvatar) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*CBAvatar) UnmarshalJSON Uses

func (uj *CBAvatar) UnmarshalJSON(input []byte) error

func (*CBAvatar) UnmarshalJSONFFLexer Uses

func (uj *CBAvatar) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type CBGithub Uses

type CBGithub struct {
    Followers int
}

func (*CBGithub) CodecDecodeSelf Uses

func (x *CBGithub) CodecDecodeSelf(d *codec1978.Decoder)

func (*CBGithub) CodecEncodeSelf Uses

func (x *CBGithub) CodecEncodeSelf(e *codec1978.Encoder)

func (*CBGithub) MarshalEasyJSON Uses

func (v *CBGithub) MarshalEasyJSON(w *jwriter.Writer)

func (*CBGithub) MarshalJSON Uses

func (mj *CBGithub) MarshalJSON() ([]byte, error)

func (*CBGithub) MarshalJSONBuf Uses

func (mj *CBGithub) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CBGithub) UnmarshalEasyJSON Uses

func (v *CBGithub) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*CBGithub) UnmarshalJSON Uses

func (uj *CBGithub) UnmarshalJSON(input []byte) error

func (*CBGithub) UnmarshalJSONFFLexer Uses

func (uj *CBGithub) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type CBGravatar Uses

type CBGravatar struct {
    Avatars []*CBAvatar
}

func (*CBGravatar) CodecDecodeSelf Uses

func (x *CBGravatar) CodecDecodeSelf(d *codec1978.Decoder)

func (*CBGravatar) CodecEncodeSelf Uses

func (x *CBGravatar) CodecEncodeSelf(e *codec1978.Encoder)

func (*CBGravatar) MarshalEasyJSON Uses

func (v *CBGravatar) MarshalEasyJSON(w *jwriter.Writer)

func (*CBGravatar) MarshalJSON Uses

func (mj *CBGravatar) MarshalJSON() ([]byte, error)

func (*CBGravatar) MarshalJSONBuf Uses

func (mj *CBGravatar) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CBGravatar) UnmarshalEasyJSON Uses

func (v *CBGravatar) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*CBGravatar) UnmarshalJSON Uses

func (uj *CBGravatar) UnmarshalJSON(input []byte) error

func (*CBGravatar) UnmarshalJSONFFLexer Uses

func (uj *CBGravatar) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type CBName Uses

type CBName struct {
    FullName string
}

func (*CBName) CodecDecodeSelf Uses

func (x *CBName) CodecDecodeSelf(d *codec1978.Decoder)

func (*CBName) CodecEncodeSelf Uses

func (x *CBName) CodecEncodeSelf(e *codec1978.Encoder)

func (*CBName) MarshalEasyJSON Uses

func (v *CBName) MarshalEasyJSON(w *jwriter.Writer)

func (*CBName) MarshalJSON Uses

func (mj *CBName) MarshalJSON() ([]byte, error)

func (*CBName) MarshalJSONBuf Uses

func (mj *CBName) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CBName) UnmarshalEasyJSON Uses

func (v *CBName) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*CBName) UnmarshalJSON Uses

func (uj *CBName) UnmarshalJSON(input []byte) error

func (*CBName) UnmarshalJSONFFLexer Uses

func (uj *CBName) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type CBPerson Uses

type CBPerson struct {
    Name     *CBName
    Github   *CBGithub
    Gravatar *CBGravatar
}

func (*CBPerson) CodecDecodeSelf Uses

func (x *CBPerson) CodecDecodeSelf(d *codec1978.Decoder)

func (*CBPerson) CodecEncodeSelf Uses

func (x *CBPerson) CodecEncodeSelf(e *codec1978.Encoder)

func (*CBPerson) MarshalEasyJSON Uses

func (v *CBPerson) MarshalEasyJSON(w *jwriter.Writer)

func (*CBPerson) MarshalJSON Uses

func (mj *CBPerson) MarshalJSON() ([]byte, error)

func (*CBPerson) MarshalJSONBuf Uses

func (mj *CBPerson) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CBPerson) UnmarshalEasyJSON Uses

func (v *CBPerson) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*CBPerson) UnmarshalJSON Uses

func (uj *CBPerson) UnmarshalJSON(input []byte) error

func (*CBPerson) UnmarshalJSONFFLexer Uses

func (uj *CBPerson) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type DSTopic Uses

type DSTopic struct {
    Id   int
    Slug string
}

func (*DSTopic) CodecDecodeSelf Uses

func (x *DSTopic) CodecDecodeSelf(d *codec1978.Decoder)

func (*DSTopic) CodecEncodeSelf Uses

func (x *DSTopic) CodecEncodeSelf(e *codec1978.Encoder)

func (*DSTopic) MarshalEasyJSON Uses

func (v *DSTopic) MarshalEasyJSON(w *jwriter.Writer)

func (*DSTopic) MarshalJSON Uses

func (mj *DSTopic) MarshalJSON() ([]byte, error)

func (*DSTopic) MarshalJSONBuf Uses

func (mj *DSTopic) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DSTopic) UnmarshalEasyJSON Uses

func (v *DSTopic) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*DSTopic) UnmarshalJSON Uses

func (uj *DSTopic) UnmarshalJSON(input []byte) error

func (*DSTopic) UnmarshalJSONFFLexer Uses

func (uj *DSTopic) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type DSTopicsList Uses

type DSTopicsList struct {
    Topics        []*DSTopic
    MoreTopicsUrl string
}

func (*DSTopicsList) CodecDecodeSelf Uses

func (x *DSTopicsList) CodecDecodeSelf(d *codec1978.Decoder)

func (*DSTopicsList) CodecEncodeSelf Uses

func (x *DSTopicsList) CodecEncodeSelf(e *codec1978.Encoder)

func (*DSTopicsList) MarshalEasyJSON Uses

func (v *DSTopicsList) MarshalEasyJSON(w *jwriter.Writer)

func (*DSTopicsList) MarshalJSON Uses

func (mj *DSTopicsList) MarshalJSON() ([]byte, error)

func (*DSTopicsList) MarshalJSONBuf Uses

func (mj *DSTopicsList) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DSTopicsList) UnmarshalEasyJSON Uses

func (v *DSTopicsList) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*DSTopicsList) UnmarshalJSON Uses

func (uj *DSTopicsList) UnmarshalJSON(input []byte) error

func (*DSTopicsList) UnmarshalJSONFFLexer Uses

func (uj *DSTopicsList) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type DSUser Uses

type DSUser struct {
    Username string
}

func (*DSUser) CodecDecodeSelf Uses

func (x *DSUser) CodecDecodeSelf(d *codec1978.Decoder)

func (*DSUser) CodecEncodeSelf Uses

func (x *DSUser) CodecEncodeSelf(e *codec1978.Encoder)

func (*DSUser) MarshalEasyJSON Uses

func (v *DSUser) MarshalEasyJSON(w *jwriter.Writer)

func (*DSUser) MarshalJSON Uses

func (mj *DSUser) MarshalJSON() ([]byte, error)

func (*DSUser) MarshalJSONBuf Uses

func (mj *DSUser) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DSUser) UnmarshalEasyJSON Uses

func (v *DSUser) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*DSUser) UnmarshalJSON Uses

func (uj *DSUser) UnmarshalJSON(input []byte) error

func (*DSUser) UnmarshalJSONFFLexer Uses

func (uj *DSUser) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type LargePayload Uses

type LargePayload struct {
    Users  []*DSUser
    Topics *DSTopicsList
}

func (*LargePayload) CodecDecodeSelf Uses

func (x *LargePayload) CodecDecodeSelf(d *codec1978.Decoder)

func (*LargePayload) CodecEncodeSelf Uses

func (x *LargePayload) CodecEncodeSelf(e *codec1978.Encoder)

func (*LargePayload) MarshalEasyJSON Uses

func (v *LargePayload) MarshalEasyJSON(w *jwriter.Writer)

func (*LargePayload) MarshalJSON Uses

func (mj *LargePayload) MarshalJSON() ([]byte, error)

func (*LargePayload) MarshalJSONBuf Uses

func (mj *LargePayload) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*LargePayload) UnmarshalEasyJSON Uses

func (v *LargePayload) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*LargePayload) UnmarshalJSON Uses

func (uj *LargePayload) UnmarshalJSON(input []byte) error

func (*LargePayload) UnmarshalJSONFFLexer Uses

func (uj *LargePayload) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type MediumPayload Uses

type MediumPayload struct {
    Person  *CBPerson
    Company map[string]interface{}
}

func (*MediumPayload) CodecDecodeSelf Uses

func (x *MediumPayload) CodecDecodeSelf(d *codec1978.Decoder)

func (*MediumPayload) CodecEncodeSelf Uses

func (x *MediumPayload) CodecEncodeSelf(e *codec1978.Encoder)

func (*MediumPayload) MarshalEasyJSON Uses

func (v *MediumPayload) MarshalEasyJSON(w *jwriter.Writer)

func (*MediumPayload) MarshalJSON Uses

func (mj *MediumPayload) MarshalJSON() ([]byte, error)

func (*MediumPayload) MarshalJSONBuf Uses

func (mj *MediumPayload) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MediumPayload) UnmarshalEasyJSON Uses

func (v *MediumPayload) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*MediumPayload) UnmarshalJSON Uses

func (uj *MediumPayload) UnmarshalJSON(input []byte) error

func (*MediumPayload) UnmarshalJSONFFLexer Uses

func (uj *MediumPayload) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type SmallPayload Uses

type SmallPayload struct {
    St   int
    Sid  int
    Tt   string
    Gr   int
    Uuid string
    Ip   string
    Ua   string
    Tz   int
    V    int
}

func (*SmallPayload) CodecDecodeSelf Uses

func (x *SmallPayload) CodecDecodeSelf(d *codec1978.Decoder)

func (*SmallPayload) CodecEncodeSelf Uses

func (x *SmallPayload) CodecEncodeSelf(e *codec1978.Encoder)

func (*SmallPayload) MarshalEasyJSON Uses

func (v *SmallPayload) MarshalEasyJSON(w *jwriter.Writer)

func (*SmallPayload) MarshalJSON Uses

func (mj *SmallPayload) MarshalJSON() ([]byte, error)

func (*SmallPayload) MarshalJSONBuf Uses

func (mj *SmallPayload) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*SmallPayload) UnmarshalEasyJSON Uses

func (v *SmallPayload) UnmarshalEasyJSON(l *jlexer.Lexer)

func (*SmallPayload) UnmarshalJSON Uses

func (uj *SmallPayload) UnmarshalJSON(input []byte) error

func (*SmallPayload) UnmarshalJSONFFLexer Uses

func (uj *SmallPayload) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

Package benchmark imports 10 packages (graph). Updated 2017-09-18. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).