Skip to content

Instantly share code, notes, and snippets.

@adikrishnan
Created February 14, 2022 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adikrishnan/f18ab29e861d711f146504718bf87800 to your computer and use it in GitHub Desktop.
Save adikrishnan/f18ab29e861d711f146504718bf87800 to your computer and use it in GitHub Desktop.
Parser Type File Size / Data Size Number of Lines Time Taken Memory Consumed
pygrok based Parser 50kb / 2.5kb 302 1.43s 40.3MiB
Custom Parser [O(mxn)] 50 kb / 2.5kb 302 0.14s 40.5MiB
Improvements - - ~920% [Time reduction] ~-0.49% [Space increase]
Parser Type File Size / Data Size Number of Lines Time Taken
pygrok based Parser 1MB / 54.5kb 6193 27.15s
Custom Parser [O(mxn)] 1MB / 54.5kb 6193 1.72s
Improvements - - ~1478% [Time reduction]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment