This file contains 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
;APPLE II CASSETTE-SCOPE | |
;2017-09 [email protected] | |
;2019-06 [email protected] | |
;SIMPLE 1-CHANNEL DIGITAL SCOPE | |
;USING THE APPLE II CASSETTE PORT | |
;KEYS: | |
;(T)RIGGER ON / OFF | |
;(SPACE) RUN / STOP |
This file contains 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
var fs = require('fs'); | |
function fib(n) { | |
return n <= 1 ? 1 : fib(n - 1) + fib(n - 2); | |
} | |
function rawBench(n, loop, modulo, asyncFn, callback) { | |
var count = 0; | |
var l = loop; |
This file contains 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
/* | |
$ node bench.js | |
Threads_a_gogo JS thread -> 3039 (ms) 298607040 | |
Node's main JS thread -> 4677 (ms) 298607040 | |
Ratio: 1.54 times faster than main JS thread | |
New, separate VM -> 3065 (ms) 298607040 | |
Ratio: 1.01 times faster than new VM | |
*/ |