Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuellr/ffi-timing
time overhead of the node ffi module
https://github.com/pmuellr/ffi-timing
Last synced: about 1 month ago
JSON representation
time overhead of the node ffi module
- Host: GitHub
- URL: https://github.com/pmuellr/ffi-timing
- Owner: pmuellr
- Created: 2015-08-02T04:40:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-02T04:45:55.000Z (over 9 years ago)
- Last Synced: 2024-04-09T21:04:44.943Z (9 months ago)
- Language: JavaScript
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ffi-timing
================================================================================Code to test the overhead in time of the node
[`ffi` package](https://www.npmjs.com/package/ffi).The code here builds a shared library that does nothing, then calls it from
a node application and times it with a high-resolution timer, printing
the results.instructions
--------------------------------------------------------------------------------* clone this repo onto your machine
* cd into this repo's working directory
* run `npm install` to install pre-requisites
* run `make mac` or `make linux` (as appropriate) to build shared library
* run `node test-ffi-timing` to run the timing tests