Skip to content

[log] Add benchmark #88

Description

@at15

There was a benchmark when we were still following the logrus style #29, the benchmark was using a fork of zap https://github.com/at15/zap/commits/gommon , I forgot what I used to draw the graph though ... (the impl should be using go's builtin benchmark result parser + render html for echarts, but the code is missing ....)

TODO

  • the handler code for formatting is using raw slice with magic number, which may not be fast (varies based on size of message, fields etc.)
  • the benchmark will result in importing many packages, might need some hack for dependency management

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions