Skip to content

AutomataLab/NPM-JSON-Parser-Benchmarking

Repository files navigation

NPM-JSON-Parser-Benchmarking

Benchmarking Node.js packages - JSONSki Vs simdjson vs Javascript for JSON files.

Quick Start

  1. Download datasets from here

  2. Add the downloaded files to the datasets folder

image

  1. Run the following commands to immitate the results.
npm install
node nested_json_benchmark.js 
node small_json_benchmark.js
node large_json_benchmark.js

Performance Measurement APIs

Files

small_json_benchmark.js

Benchmarking is done using benchmarkify.js for smaller datasets.

large_json_benchmark.js

Benchmarking is done using console.time() API for larger datasets.

nested_json_benchmark.js

Benchmarking is done using console.time() API for larger datasets and complex nested queries.

Performance

Machine Configuration

  • Processor: 2.6 GHz 6 - Core Intel Core I7

  • Memory : 16 GB 2667 MHz DDR4

Execution Results:

  • Execution time in milliseconds using console.time() API

image

  • Execution time in milliseconds using benchmarkify() API

image

  • Note: Results may vary depending on the hardware. However, relative results are expected to remain same.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published