Skip to content

Instantly share code, notes, and snippets.

@rubensworks
Created October 2, 2020 12:56
Show Gist options
  • Save rubensworks/ec15c73fe042441d74e1ba6157ccc7bc to your computer and use it in GitHub Desktop.
Save rubensworks/ec15c73fe042441d74e1ba6157ccc7bc to your computer and use it in GitHub Desktop.

Generated with https://github.com/rubensworks/microdata-rdf-streaming-parser.js/tree/master/perf

Small file

(Input from https://github.com/microdata-rdf/microdata-rdf.github.io/tree/master/test-suite)

microdata-rdf-streaming-parser

  • Parsing file /Users/rtaelman/Documents/UGent/nosync/microdata-rdf-streaming-parser/test0016.html: 11.374ms
  • Quads parsed: 15
  • Memory usage: 26MB

Medium file

(Input from https://www.rubensworks.net/publications/)

microdata-rdf-streaming-parser

  • Parsing file /Users/rtaelman/Documents/UGent/nosync/microdata-rdf-streaming-parser/rw.html: 36.241ms
  • Quads parsed: 216
  • Memory usage: 29MB

Large file

(Duplicated contents of test0016 200 times)

microdata-rdf-streaming-parser

  • Parsing file /Users/rtaelman/Documents/UGent/nosync/microdata-rdf-streaming-parser/test0016-large.html: 86.034ms
  • Quads parsed: 2850
  • Memory usage: 36MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment