https://github.com/plsyssec/simdjson-tests
Testing framework for simdjson library when sandboxed to WASM with the SIMD128 instruction set
https://github.com/plsyssec/simdjson-tests
Last synced: 4 months ago
JSON representation
Testing framework for simdjson library when sandboxed to WASM with the SIMD128 instruction set
- Host: GitHub
- URL: https://github.com/plsyssec/simdjson-tests
- Owner: PLSysSec
- Created: 2022-07-27T22:02:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-19T17:15:02.000Z (over 3 years ago)
- Last Synced: 2025-09-13T15:53:06.261Z (5 months ago)
- Language: C++
- Homepage:
- Size: 11.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simdjson-tests
This repository aims to provide a testing framework for the [simdjson](https://github.com/simdjson/simdjson) library when compiling to WebAssembly (WASM) with and without SIMD Intrinsics. This build employs wasi-sdk version 16.0, WASM-Micro-Runtime (WAMR), and WebAssmebly Binary Toolkit (WABT). The `build.sh` script provides a framework for builiding the `simdjson` library to both a WASM and native target, as well as an application, `parse.cpp`, that utilizes the `simdjson` library. The script also utilizes WAMR's AOT compiler to run the application in the specified target for a configured number of runs. This generates a `csv` file with the collected execution speeds. Once all tests have been run, the `analysis.sh` script can develop statistical conclusions from the outputs.