Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves performance of json_stream_parser.cc by factor 1000 #7230

Merged
merged 2 commits into from Feb 19, 2020

Commits on Feb 18, 2020

  1. Improves performance of json_stream_parser.cc by factor 1000

    JsonStreamParser::GetNextTokenType() uses HasPrefixString a lot on StringPiece as input. For each call two std::strings are constructed, compared and destroyed. Parsing of json-files with 50-60 MB in debug mode takes minutes.
    wsw2016 committed Feb 18, 2020
    Copy the full SHA
    fc3f664 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from wsw2016/wsw2016-patch-strutils

    Improves performance of json_stream_parser.cc by factor 1000
    wsw2016 committed Feb 18, 2020
    Copy the full SHA
    c221482 View commit details
    Browse the repository at this point in the history