made with esnextbin
made with esnextbin
made with esnextbin
made with esnextbin
made with esnextbin
made with esnextbin
made with esnextbin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A JavaScript implementation of the non-blocking RotatingSkipList algorithm described in: | |
Dick, I. Fekete, A. Gramoli, V. (2016) | |
"A Skip List for Multicore", to appear in | |
Concurrency and Computation Practice and Experience 2016 | |
http://poseidon.it.usyd.edu.au/~gramoli/web/doc/pubs/rotating-skiplist-preprint-2016.pdf | |
https://github.com/gramoli/synchrobench/blob/master/c-cpp/src/skiplists/rotating/nohotspot_ops.c | |
*/ |
made with esnextbin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const memwatch = require('memwatch-next'); | |
// require('segfault-handler').registerHandler("async.log"); | |
// memwatch.on('leak', ({ growth, reason }) => console.log(`Leak: ${round(growth >> 10, 2)}mb ${reason}`)); | |
let eventID = 0; | |
const assert = require('assert'); | |
const cl = require('node-opencl'); | |
const { promisify } = require('util'); | |
const sleep = promisify(setTimeout); | |
const MemoryPool = createMemoryPoolClass(); |