Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guest271314/fb8969a956a873e495b890a42ac0d731 to your computer and use it in GitHub Desktop.
Save guest271314/fb8969a956a873e495b890a42ac0d731 to your computer and use it in GitHub Desktop.
Native Messaging JavaScript runtime tests

Native Messaging JavaScript runtime hosts tested:

  • QuickJS
  • Node.js
  • Deno
  • Bun

Test: Send new Array(10000) from client to host, send message back to client, 100 times, measure time with performance.now().

native_messaging_javascript_runtime_tests_4.json sends 1MB (new Array(209715)) from client to host, host to client.

(async()=>{
  let hosts = {
    'nm_quickjs': [],
    'nm_deno': [],
    'nm_nodejs': [],
    'nm_bun': []
  };
  for (let i = 0; i < 100; i++) {
    for (const [hostName,data] of Object.entries(hosts)) {
      await new Promise((resolve)=>{
        let now = performance.now();
        var port = chrome.runtime.connectNative(hostName);
        port.onMessage.addListener(e=>{
          hosts[hostName].push((performance.now() - now) / 1000);
          port.disconnect();
          resolve();
        }
        );
        port.onDisconnect.addListener(e=>console.log(e));
        port.postMessage(new Array(10000));
      }
      )
    }
  }
  return hosts;
}
)().then(async(data)=>{
  const json = JSON.stringify(data, null, 2);
  console.log(data);
  onclick = async()=>{
    onclick = null;
    try {
      let fs = await showSaveFilePicker({
        suggestedName: 'native_messaging_javascript_runtime_tests_1.json'
      });
      let writable = await fs.createWritable();
      await new Blob([json],{
        type: 'application/json'
      }).stream().pipeTo(writable);
    } catch (err) {
      console.log(err);
    }
  }
}
, console.error);

Get and sort results of native_messaging_javascript_runtime_tests_4.json below

{
  let result = JSON.stringify(await fetch('https://gist.githubusercontent.com/guest271314/fb8969a956a873e495b890a42ac0d731/raw/3766b2a87e129393045be21324e651e0c92a49ee/native_messaging_javascript_runtime_tests_4.json')
    .then((response) => response.json())
    .then((json) => Object.entries(json).map(([JavaScriptRuntimeNativeMessagingHost, data, len = data.length]) => ({
        [JavaScriptRuntimeNativeMessagingHost]: data.reduce((a, b) => a + b, 0) / len
      }))
      .sort((a, b) => Object.values(a)[0] - Object.values(b)[0])));
}

Result as formatted JSON

[{
  "nm_qjs": 0.2468439999997615
}, {
  "nm_bun": 0.2530850000003726
}, {
  "nm_deno": 0.34589599999971704
}, {
  "nm_nodejs": 0.36726300000011924
}]
{
"nm_quickjs": [
0.0825,
0.0957000000178814,
0.0825,
0.0932000000178814,
0.0932999999821186,
0.0905,
0.06580000001192093,
0.08540000000596046,
0.12269999998807907,
0.08030000001192093,
0.10019999998807907,
0.11380000001192093,
0.11780000001192092,
0.08930000001192093,
0.094,
0.1132000000178814,
0.07980000001192093,
0.079,
0.08939999997615815,
0.07840000000596047,
0.08880000001192093,
0.0802000000178814,
0.08379999998211861,
0.06509999999403954,
0.08690000000596046,
0.08540000000596046,
0.09009999999403953,
0.09040000000596046,
0.07380000001192093,
0.09319999998807907,
0.08319999998807907,
0.08430000001192092,
0.08419999998807907,
0.06760000002384185,
0.07329999998211861,
0.0737999999821186,
0.07919999998807907,
0.07079999998211861,
0.08580000001192092,
0.08240000000596047,
0.08069999998807907,
0.07890000000596047,
0.07669999998807907,
0.07669999998807907,
0.0742999999821186,
0.06990000000596046,
0.11369999998807907,
0.075,
0.07129999998211861,
0.08810000002384186,
0.0795,
0.0772999999821186,
0.0635,
0.07359999999403953,
0.08,
0.0947999999821186,
0.078,
0.07540000000596046,
0.075,
0.06629999998211861,
0.101,
0.07590000000596046,
0.07909999999403954,
0.0812000000178814,
0.08739999997615815,
0.07459999999403953,
0.0895,
0.07840000000596047,
0.08360000002384185,
0.099,
0.08140000000596047,
0.07740000000596046,
0.0767999999821186,
0.07640000000596046,
0.08419999998807907,
0.08289999997615814,
0.07440000000596046,
0.08809999999403953,
0.08830000001192093,
0.09169999998807907,
0.0767000000178814,
0.061400000005960464,
0.0747999999821186,
0.07919999998807907,
0.06790000000596047,
0.07659999999403953,
0.08469999998807907,
0.06759999999403954,
0.07669999998807907,
0.07969999998807907,
0.08280000001192094,
0.07680000001192093,
0.09190000000596046,
0.0635,
0.06790000000596047,
0.07130000001192092,
0.068,
0.06609999999403954,
0.066,
0.06009999999403953
],
"nm_deno": [
0.18390000000596046,
0.23430000001192092,
0.14659999999403953,
0.19790000000596047,
0.15509999999403953,
0.17880000001192092,
0.1567000000178814,
0.16059999999403954,
0.1545,
0.13759999999403955,
0.1502000000178814,
0.17639999997615813,
0.2177000000178814,
0.1777000000178814,
0.163,
0.1585,
0.14659999999403953,
0.16759999999403954,
0.15039999997615813,
0.14280000001192092,
0.18130000001192093,
0.15019999998807906,
0.1362999999821186,
0.14469999998807906,
0.1582000000178814,
0.1465,
0.14559999999403953,
0.14169999998807908,
0.14080000001192092,
0.16719999998807908,
0.1547000000178814,
0.15359999999403953,
0.1502999999821186,
0.13769999998807908,
0.14559999999403953,
0.15259999999403953,
0.14160000002384185,
0.14030000001192092,
0.1365,
0.13859999999403955,
0.14359999999403952,
0.16569999998807908,
0.12889999997615814,
0.13219999998807908,
0.14489999997615816,
0.13890000000596048,
0.14030000001192092,
0.14659999999403953,
0.1447999999821186,
0.145,
0.13209999999403954,
0.1342000000178814,
0.161,
0.13919999998807908,
0.13509999999403954,
0.13519999998807908,
0.13409999999403954,
0.1395,
0.14329999998211862,
0.137,
0.13730000001192094,
0.14469999998807906,
0.14639999997615813,
0.14809999999403953,
0.13639999997615815,
0.138,
0.1485,
0.14430000001192092,
0.14969999998807906,
0.13580000001192094,
0.14040000000596045,
0.14290000000596045,
0.1517999999821186,
0.136,
0.13710000002384184,
0.14359999999403952,
0.15259999999403953,
0.13569999998807908,
0.15440000000596046,
0.13759999999403955,
0.13909999999403955,
0.17619999998807906,
0.1362999999821186,
0.1355,
0.13640000000596048,
0.14069999998807908,
0.1332999999821186,
0.13530000001192094,
0.1352000000178814,
0.18540000000596046,
0.14340000000596045,
0.142,
0.15659999999403953,
0.13910000002384185,
0.13740000000596048,
0.17380000001192092,
0.11769999998807908,
0.12180000001192093,
0.1195,
0.12519999998807907
],
"nm_nodejs": [
0.33030000001192095,
0.27109999999403955,
0.31030000001192093,
0.2845999999940395,
0.29640000000596045,
0.31559999999403954,
0.3229000000059605,
0.2636999999880791,
0.30390000000596046,
0.2955999999940395,
0.314,
0.3592999999821186,
0.312,
0.3008000000119209,
0.4172999999821186,
0.32430000001192094,
0.2547999999821186,
0.258,
0.2830999999940395,
0.2584000000059605,
0.27030000001192095,
0.28540000000596044,
0.28419999998807904,
0.25110000002384186,
0.3176999999880791,
0.2803000000119209,
0.23,
0.26359999999403955,
0.2654000000059605,
0.25659999999403954,
0.28440000000596044,
0.27970000001788137,
0.24939999997615814,
0.2955999999940395,
0.26009999999403954,
0.25730000001192094,
0.2657999999821186,
0.24290000000596046,
0.2437000000178814,
0.2616999999880791,
0.2665,
0.25560000002384187,
0.251,
0.269,
0.33089999997615815,
0.2532999999821186,
0.2637000000178814,
0.233,
0.25780000001192094,
0.2755,
0.2771999999880791,
0.25069999998807907,
0.2761000000238419,
0.269,
0.25360000002384187,
0.25359999999403954,
0.2825,
0.25130000001192093,
0.2826999999880791,
0.2442999999821186,
0.25269999998807907,
0.28059999999403956,
0.2532999999821186,
0.25930000001192094,
0.2742999999821186,
0.27359999999403956,
0.2604000000059605,
0.31290000000596047,
0.24440000000596046,
0.25659999999403954,
0.2888000000119209,
0.25269999998807907,
0.27380000001192095,
0.28159999999403956,
0.2561999999880791,
0.26409999999403955,
0.25809999999403954,
0.2642999999821186,
0.26680000001192095,
0.28260000002384184,
0.24830000001192093,
0.2555,
0.2932000000178814,
0.2584000000059605,
0.2672000000178814,
0.2579000000059605,
0.2641000000238419,
0.26359999999403955,
0.25540000000596047,
0.26430000001192094,
0.2865999999940395,
0.26480000001192094,
0.26380000001192094,
0.2855999999940395,
0.2654000000059605,
0.25230000001192093,
0.23220000001788138,
0.22590000000596047,
0.23590000000596045,
0.2702000000178814
]
}
{
"nm_quickjs": [
0.25689999997615814,
0.0797999999821186,
0.07989999997615814,
0.08559999999403954,
0.11530000001192092,
0.128,
0.07569999998807907,
0.08230000001192093,
0.072,
0.08190000000596047,
0.085,
0.08509999999403954,
0.08240000000596047,
0.068,
0.07240000000596046,
0.08509999999403954,
0.08359999999403954,
0.081,
0.08309999999403954,
0.07990000000596047,
0.07809999999403953,
0.07809999999403953,
0.08180000001192093,
0.0875,
0.092,
0.0662000000178814,
0.06560000002384186,
0.08880000001192093,
0.08060000002384186,
0.08009999999403954,
0.0907000000178814,
0.078,
0.08640000000596046,
0.0725,
0.08359999999403954,
0.08259999999403954,
0.09119999998807907,
0.07169999998807908,
0.08410000002384185,
0.06929999998211861,
0.0835,
0.06609999999403954,
0.084,
0.08920000001788139,
0.0767000000178814,
0.07609999999403953,
0.09030000001192093,
0.07990000000596047,
0.08709999999403953,
0.1055,
0.07419999998807907,
0.08459999999403954,
0.08080000001192093,
0.09390000000596047,
0.0822000000178814,
0.08309999999403954,
0.082,
0.16739999997615815,
0.08759999999403953,
0.12969999998807907,
0.08319999998807907,
0.06719999998807907,
0.07569999998807907,
0.06509999999403954,
0.081,
0.09430000001192093,
0.06390000000596047,
0.084,
0.074,
0.0805,
0.06980000001192092,
0.10519999998807907,
0.0787999999821186,
0.082,
0.1055,
0.0937999999821186,
0.07909999999403954,
0.08959999999403953,
0.08739999997615815,
0.08229999998211861,
0.08259999999403954,
0.08290000000596047,
0.06969999998807908,
0.07240000000596046,
0.07639999997615814,
0.0825,
0.08530000001192092,
0.0745,
0.067,
0.07860000002384186,
0.07559999999403953,
0.08109999999403954,
0.08290000000596047,
0.09730000001192093,
0.077,
0.07480000001192093,
0.08670000001788139,
0.07919999998807907,
0.0817999999821186,
0.0932000000178814
],
"nm_deno": [
0.21759999999403953,
0.1517999999821186,
0.203,
0.16730000001192094,
0.1682000000178814,
0.1475,
0.14029999998211862,
0.13830000001192094,
0.13789999997615815,
0.15709999999403954,
0.14369999998807906,
0.15509999999403953,
0.14280000001192092,
0.14980000001192093,
0.13269999998807908,
0.148,
0.1375,
0.14080000001192092,
0.1502999999821186,
0.14790000000596046,
0.14690000000596046,
0.1602000000178814,
0.14140000000596045,
0.13990000000596045,
0.15,
0.1395,
0.14569999998807906,
0.14660000002384185,
0.14319999998807906,
0.13679999998211861,
0.1395,
0.14519999998807906,
0.158,
0.13890000000596048,
0.14160000002384185,
0.1415,
0.14719999998807906,
0.16259999999403954,
0.14969999998807906,
0.14430000001192092,
0.14519999998807906,
0.13740000000596048,
0.14789999997615813,
0.18440000000596046,
0.13930000001192092,
0.1465,
0.14909999999403953,
0.1405,
0.142,
0.13460000002384187,
0.1527000000178814,
0.14260000002384185,
0.148,
0.1457999999821186,
0.146,
0.13719999998807908,
0.15009999999403953,
0.1695,
0.1957999999821186,
0.2729000000059605,
0.13659999999403954,
0.153,
0.165,
0.1495,
0.13369999998807908,
0.15840000000596047,
0.15109999999403953,
0.13509999999403954,
0.1547999999821186,
0.14190000000596045,
0.12859999999403954,
0.14420000001788139,
0.14809999999403953,
0.13890000000596048,
0.137,
0.14510000002384185,
0.153,
0.1342999999821186,
0.14960000002384186,
0.1442999999821186,
0.14909999999403953,
0.1735,
0.13619999998807908,
0.13740000000596048,
0.15609999999403953,
0.149,
0.13459999999403954,
0.17290000000596045,
0.13940000000596048,
0.15019999998807906,
0.15169999998807907,
0.14140000000596045,
0.13,
0.16040000000596047,
0.14809999999403953,
0.14079999998211862,
0.16809999999403955,
0.13820000001788138,
0.13989999997615815,
0.15190000000596046
],
"nm_nodejs": [
0.40329999998211863,
0.33589999997615816,
0.3698000000119209,
0.32159999999403954,
0.41690000000596045,
0.2900999999940395,
0.29390000000596045,
0.2847999999821186,
0.273,
0.3067000000178814,
0.2928999999761581,
0.273,
0.2902000000178814,
0.2945999999940395,
0.2675,
0.2775,
0.2885,
0.2865999999940395,
0.28029999998211863,
0.29540000000596045,
0.269,
0.27809999999403956,
0.30710000002384186,
0.29690000000596045,
0.29940000000596045,
0.28090000000596044,
0.2982999999821186,
0.25109999999403954,
0.29190000000596045,
0.27580000001192095,
0.27920000001788137,
0.27559999999403956,
0.3033000000119209,
0.2692000000178814,
0.29040000000596045,
0.29960000002384185,
0.2865,
0.281,
0.28590000000596044,
0.28440000000596044,
0.2805,
0.28370000001788137,
0.2756999999880791,
0.27409999999403956,
0.29390000000596045,
0.27509999999403956,
0.278,
0.2661999999880791,
0.2662000000178814,
0.2885999999940395,
0.2823000000119209,
0.3020999999940395,
0.2905999999940395,
0.2816999999880791,
0.2998000000119209,
0.29019999998807905,
0.37159999999403953,
0.3974000000059605,
0.3415,
0.36710000002384185,
0.293,
0.3095,
0.26689999997615815,
0.30710000002384186,
0.2953000000119209,
0.28210000002384183,
0.2805,
0.2795,
0.2755,
0.2967000000178814,
0.2724000000059605,
0.2739000000059605,
0.2757000000178814,
0.27859999999403956,
0.2605,
0.289,
0.2885,
0.2826999999880791,
0.29090000000596045,
0.31140000000596046,
0.31359999999403954,
0.2622000000178814,
0.29760000002384185,
0.25559999999403954,
0.2659000000059605,
0.2865,
0.2729000000059605,
0.27080000001192095,
0.2872999999821186,
0.2634000000059605,
0.2875,
0.28,
0.2537000000178814,
0.2751999999880791,
0.28719999998807905,
0.288,
0.2815,
0.31830000001192094,
0.27509999999403956,
0.2756999999880791
]
}
{
"nm_qjs": [
0.041199999999254944,
0.04569999999925494,
0.09959999999776482,
0.11230000000074505,
0.11309999999776482,
0.109,
0.08759999999776483,
0.0905,
0.12210000000149011,
0.08589999999850989,
0.06430000000074505,
0.11040000000223517,
0.10730000000074506,
0.10030000000074506,
0.11610000000149012,
0.09669999999925494,
0.10880000000074506,
0.12820000000298024,
0.10089999999850989,
0.07389999999850988,
0.10739999999850988,
0.11619999999925494,
0.12240000000223518,
0.09339999999850988,
0.1035,
0.10630000000074506,
0.093,
0.06440000000223517,
0.10529999999701976,
0.07980000000074505,
0.0945,
0.07789999999850988,
0.09920000000298024,
0.06919999999925494,
0.09879999999701977,
0.09490000000223517,
0.10530000000074506,
0.07320000000298023,
0.08359999999776482,
0.09160000000149011,
0.07339999999850988,
0.07419999999925495,
0.08940000000223518,
0.07970000000298023,
0.09880000000074506,
0.07430000000074506,
0.07130000000074506,
0.09089999999850988,
0.1205,
0.09819999999925494,
0.09710000000149012,
0.10459999999776483,
0.07569999999925495,
0.084,
0.07560000000149011,
0.10929999999701977,
0.08240000000223517,
0.0865,
0.08540000000223517,
0.07729999999701977,
0.08480000000074506,
0.13369999999925494,
0.07209999999776483,
0.10739999999850988,
0.11169999999925494,
0.07759999999776483,
0.11289999999850989,
0.0965,
0.0695,
0.0835,
0.0875,
0.115,
0.11480000000074506,
0.0875,
0.10130000000074506,
0.08389999999850989,
0.149,
0.0715,
0.079,
0.09519999999925494,
0.0775,
0.11589999999850989,
0.09130000000074506,
0.11580000000074506,
0.10419999999925494,
0.08139999999850989,
0.08930000000074506,
0.10580000000074506,
0.15630000000074507,
0.11740000000223517,
0.07180000000074506,
0.08720000000298023,
0.096,
0.10960000000149012,
0.08719999999925494,
0.0985,
0.08990000000223518,
0.08,
0.0785,
0.11060000000149012
],
"nm_deno": [
0.12180000000074506,
0.1145,
0.3335,
0.276,
0.35619999999925495,
0.2716999999992549,
0.33730000000074506,
0.2403999999985099,
0.27669999999925493,
0.1896000000014901,
0.19890000000223518,
0.242,
0.28169999999925494,
0.21740000000223517,
0.34320000000298023,
0.285,
0.31830000000074504,
0.224,
0.31869999999925497,
0.3268999999985099,
0.2688999999985099,
0.27769999999925493,
0.25680000000074504,
0.2285,
0.2745999999977648,
0.2395,
0.20069999999925495,
0.23310000000149012,
0.2145,
0.12489999999850988,
0.2635,
0.2398999999985099,
0.18090000000223516,
0.23730000000074505,
0.2448999999985099,
0.146,
0.12279999999701977,
0.2533999999985099,
0.21560000000149013,
0.23290000000223518,
0.18719999999925493,
0.2296000000014901,
0.20820000000298022,
0.20360000000149012,
0.12680000000074507,
0.285,
0.1783999999985099,
0.2385,
0.38980000000074505,
0.27419999999925493,
0.169,
0.24259999999776483,
0.1906000000014901,
0.2325,
0.284,
0.19930000000074505,
0.24780000000074506,
0.20439999999850988,
0.20019999999925495,
0.12180000000074506,
0.2261000000014901,
0.2965,
0.17030000000074505,
0.2735,
0.282,
0.30219999999925495,
0.28079999999701977,
0.236,
0.2765999999977648,
0.21980000000074507,
0.215,
0.2855,
0.23330000000074505,
0.22930000000074505,
0.26959999999776485,
0.23029999999701978,
0.16419999999925494,
0.17140000000223518,
0.27769999999925493,
0.2063999999985099,
0.20419999999925495,
0.2405,
0.2715,
0.20830000000074506,
0.18,
0.19880000000074505,
0.3583000000007451,
0.26,
0.2916000000014901,
0.13239999999850988,
0.2748999999985099,
0.226,
0.22989999999850988,
0.216,
0.23610000000149012,
0.18160000000149013,
0.272,
0.17859999999776482,
0.22769999999925494,
0.2938999999985099
],
"nm_nodejs": [
0.18509999999776483,
0.31039999999850987,
0.583,
0.4791000000014901,
0.31819999999925497,
0.3031000000014901,
0.35020000000298024,
0.4428999999985099,
0.48719999999925495,
0.6059000000022352,
0.3289000000022352,
0.4205,
0.39630000000074506,
0.26430000000074505,
0.3613000000007451,
0.4681000000014901,
0.5833000000007451,
0.4075,
0.4598999999985099,
0.46329999999701976,
0.5355,
0.3193999999985099,
0.5062999999970198,
0.4018999999985099,
0.42840000000223516,
0.4325,
0.4716000000014901,
0.47820000000298024,
0.37480000000074504,
0.3358999999985099,
0.385,
0.2553999999985099,
0.309,
0.386,
0.4046000000014901,
0.27980000000074506,
0.351,
0.40829999999701977,
0.38979999999701975,
0.4074000000022352,
0.28069999999925493,
0.426,
0.3509000000022352,
0.256,
0.30789999999850987,
0.30039999999850986,
0.432,
0.4558999999985099,
0.4541999999992549,
0.4464000000022352,
0.5136000000014901,
0.37230000000074503,
0.3336999999992549,
0.2775,
0.25660000000149014,
0.3817000000029802,
0.3590999999977648,
0.3855,
0.4798999999985099,
0.3588000000007451,
0.4183999999985099,
0.37469999999925496,
0.47380000000074507,
0.4531999999992549,
0.4538999999985099,
0.3976999999992549,
0.4695,
0.3493999999985099,
0.43139999999850986,
0.2651999999992549,
0.4156000000014901,
0.4725,
0.22479999999701977,
0.41130000000074507,
0.4816000000014901,
0.4545,
0.4756000000014901,
0.4591000000014901,
0.41919999999925495,
0.5265999999977649,
0.4975,
0.3991000000014901,
0.45260000000149014,
0.4278000000007451,
0.3346999999992549,
0.34480000000074507,
0.3448999999985099,
0.4125,
0.303,
0.2731000000014901,
0.37469999999925496,
0.2943000000007451,
0.4143999999985099,
0.2953999999985099,
0.4345,
0.40569999999925493,
0.43540000000223517,
0.3605,
0.2961000000014901,
0.4040999999977648
],
"nm_bun": [
0.0735,
0.10010000000149012,
0.1661000000014901,
0.23219999999925495,
0.18060000000149012,
0.124,
0.21530000000074506,
0.17380000000074505,
0.1591000000014901,
0.177,
0.17270000000298022,
0.11839999999850988,
0.10720000000298023,
0.20009999999776482,
0.19109999999776484,
0.20730000000074505,
0.20319999999925495,
0.2662000000029802,
0.16939999999850988,
0.1966000000014901,
0.1945,
0.2701999999992549,
0.188,
0.2285999999977648,
0.18830000000074507,
0.20309999999776482,
0.196,
0.10830000000074506,
0.15680000000074507,
0.18110000000149012,
0.15309999999776483,
0.154,
0.15169999999925493,
0.111,
0.16469999999925494,
0.1035,
0.15659999999776483,
0.08369999999925494,
0.1665,
0.15890000000223517,
0.1636000000014901,
0.1641000000014901,
0.14519999999925495,
0.16109999999776484,
0.15659999999776483,
0.14960000000149012,
0.157,
0.169,
0.1793999999985099,
0.13529999999701978,
0.14240000000223518,
0.21980000000074507,
0.20780000000074506,
0.22220000000298024,
0.19469999999925494,
0.22930000000074505,
0.22169999999925494,
0.20819999999925495,
0.118,
0.12930000000074507,
0.20619999999925495,
0.15419999999925493,
0.14629999999701976,
0.16739999999850988,
0.1595,
0.1335999999977648,
0.151,
0.22259999999776484,
0.24369999999925493,
0.20089999999850988,
0.13930000000074505,
0.14280000000074505,
0.20859999999776482,
0.20039999999850988,
0.1848999999985099,
0.1795,
0.15380000000074506,
0.22869999999925494,
0.14980000000074506,
0.14769999999925496,
0.17019999999925495,
0.18430000000074506,
0.22,
0.17559999999776482,
0.13619999999925494,
0.13989999999850988,
0.16159999999776484,
0.22719999999925494,
0.15019999999925493,
0.18759999999776483,
0.21330000000074506,
0.19540000000223517,
0.13470000000298024,
0.22289999999850987,
0.23809999999776482,
0.20230000000074505,
0.19089999999850987,
0.253,
0.20459999999776482,
0.17819999999925495
]
}
{
"nm_qjs": [
0.16779999999701978,
0.1645,
0.2643999999985099,
0.2527000000029802,
0.3055,
0.32610000000149014,
0.3555,
0.22319999999552964,
0.24280000000447036,
0.19459999999403954,
0.2793999999985099,
0.30770000000298026,
0.14479999999701976,
0.2548999999985099,
0.19789999999850988,
0.225,
0.17860000000149012,
0.24379999999701976,
0.182,
0.21120000000298023,
0.22820000000298024,
0.17520000000298022,
0.19979999999701978,
0.22420000000298024,
0.21879999999701977,
0.15419999999552966,
0.24380000000447036,
0.2583999999985099,
0.2661000000014901,
0.315,
0.2578999999985099,
0.19320000000298024,
0.38360000000149014,
0.34130000000447036,
0.3075,
0.25810000000149014,
0.23479999999701978,
0.25810000000149014,
0.26280000000447035,
0.2375,
0.3085,
0.28429999999701977,
0.31909999999403954,
0.2933000000044704,
0.2485,
0.3303999999985099,
0.34119999999552963,
0.2731000000014901,
0.23539999999850988,
0.201,
0.25519999999552967,
0.23559999999403952,
0.2465,
0.24169999999552966,
0.26209999999403955,
0.3291000000014901,
0.27769999999552963,
0.28579999999701977,
0.2583999999985099,
0.23070000000298024,
0.2488999999985099,
0.2532000000029802,
0.29320000000298024,
0.3065,
0.2555,
0.30559999999403953,
0.19269999999552964,
0.254,
0.20070000000298024,
0.2921000000014901,
0.25860000000149014,
0.19479999999701977,
0.182,
0.23019999999552965,
0.1571000000014901,
0.1661000000014901,
0.26210000000149014,
0.177,
0.2276000000014901,
0.16569999999552965,
0.17340000000596045,
0.18560000000149013,
0.15520000000298023,
0.175,
0.17339999999850988,
0.18290000000596046,
0.317,
0.33529999999701976,
0.3241999999955297,
0.20009999999403955,
0.28529999999701977,
0.23780000000447035,
0.25479999999701974,
0.24140000000596046,
0.2175,
0.42270000000298025,
0.283,
0.2738999999985099,
0.21120000000298023,
0.21260000000149012
],
"nm_deno": [
0.24060000000149012,
0.22219999999552964,
0.4146000000014901,
0.31479999999701974,
0.41590000000596045,
0.32110000000149014,
0.32110000000149014,
0.3557999999970198,
0.2721000000014901,
0.3928999999985099,
0.29419999999552965,
0.31780000000447034,
0.2542000000029802,
0.307,
0.281,
0.24160000000149012,
0.2716000000014901,
0.3127999999970198,
0.3386000000014901,
0.34179999999701977,
0.3273999999985099,
0.25280000000447034,
0.36439999999850986,
0.3607999999970198,
0.3455,
0.34370000000298023,
0.42739999999850986,
0.3795,
0.32379999999701975,
0.381,
0.342,
0.48020000000298024,
0.28159999999403956,
0.3405,
0.38529999999701975,
0.3963999999985099,
0.30809999999403953,
0.38069999999552967,
0.36219999999552965,
0.38979999999701975,
0.4068999999985099,
0.34619999999552964,
0.38710000000149014,
0.35840000000596045,
0.3686000000014901,
0.3755,
0.29119999999552965,
0.3834000000059605,
0.3315,
0.38730000000447035,
0.33579999999701976,
0.34679999999701977,
0.329,
0.3932000000029802,
0.4155,
0.31310000000149013,
0.34119999999552963,
0.3436000000014901,
0.39079999999701975,
0.32779999999701975,
0.4183000000044704,
0.3507999999970198,
0.44130000000447034,
0.3536000000014901,
0.41869999999552965,
0.344,
0.36289999999850986,
0.4206000000014901,
0.4005,
0.41590000000596045,
0.23439999999850988,
0.3087999999970198,
0.30439999999850986,
0.328,
0.32610000000149014,
0.271,
0.2685,
0.39079999999701975,
0.3550999999940395,
0.2901000000014901,
0.286,
0.3844000000059605,
0.2723999999985099,
0.3348999999985099,
0.32069999999552967,
0.35,
0.38680000000447035,
0.30940000000596046,
0.30789999999850987,
0.3516000000014901,
0.4589000000059605,
0.26329999999701975,
0.4698999999985099,
0.3735,
0.2967999999970198,
0.5194000000059604,
0.2558999999985099,
0.3508999999985099,
0.2930999999940395,
0.4222999999970198
],
"nm_nodejs": [
0.25279999999701974,
0.37,
0.3997000000029802,
0.3725,
0.3365,
0.3318999999985099,
0.4073999999985099,
0.3956999999955296,
0.4465,
0.38559999999403954,
0.38610000000149014,
0.31990000000596047,
0.3475,
0.3861999999955297,
0.34720000000298024,
0.3975,
0.4046000000014901,
0.3563000000044704,
0.42989999999850986,
0.336,
0.35230000000447037,
0.353,
0.44410000000149014,
0.3495,
0.3333999999985099,
0.37119999999552966,
0.4191000000014901,
0.3448999999985099,
0.3907000000029802,
0.3342000000029802,
0.34569999999552964,
0.34570000000298023,
0.32,
0.33379999999701976,
0.3317000000029802,
0.3347000000029802,
0.3409000000059605,
0.36890000000596046,
0.33679999999701976,
0.3656000000014901,
0.33869999999552963,
0.3001000000014901,
0.3588000000044703,
0.32360000000149014,
0.3565,
0.3962000000029802,
0.33429999999701976,
0.37239999999850987,
0.32010000000149014,
0.4178999999985099,
0.33869999999552963,
0.3646000000014901,
0.3535,
0.4135,
0.3236999999955297,
0.34279999999701977,
0.3645,
0.36939999999850986,
0.3906000000014901,
0.3653000000044703,
0.42269999999552965,
0.323,
0.40119999999552963,
0.29839999999850986,
0.35180000000447037,
0.34729999999701977,
0.3696000000014901,
0.36680000000447033,
0.3213999999985099,
0.37589999999850987,
0.3446000000014901,
0.4176000000014901,
0.3565,
0.32929999999701975,
0.38910000000149014,
0.4628999999985099,
0.36170000000298025,
0.34879999999701977,
0.34569999999552964,
0.35920000000298025,
0.43890000000596047,
0.3155,
0.41820000000298024,
0.408,
0.45780000000447035,
0.3677999999970198,
0.33930000000447036,
0.3725,
0.37390000000596046,
0.3326999999955296,
0.3535,
0.37590000000596047,
0.34209999999403956,
0.3426000000014901,
0.3483999999985099,
0.6976000000014901,
0.38159999999403954,
0.3301999999955296,
0.3973999999985099,
0.36770000000298025
],
"nm_bun": [
0.18529999999701977,
0.30930000000447033,
0.2255,
0.3333999999985099,
0.2908999999985099,
0.2365,
0.26179999999701975,
0.2438999999985099,
0.29839999999850986,
0.234,
0.25030000000447034,
0.23490000000596045,
0.2622000000029802,
0.18360000000149013,
0.18719999999552966,
0.2083999999985099,
0.23020000000298024,
0.16830000000447035,
0.21260000000149012,
0.19230000000447034,
0.23510000000149012,
0.22719999999552964,
0.16070000000298024,
0.208,
0.21669999999552966,
0.21430000000447036,
0.3105,
0.23319999999552965,
0.20460000000149012,
0.25379999999701974,
0.22270000000298024,
0.22169999999552964,
0.32660000000149014,
0.31379999999701974,
0.2601999999955297,
0.27819999999552963,
0.26080000000447034,
0.3376000000014901,
0.21320000000298023,
0.31560000000149013,
0.22370000000298024,
0.27830000000447036,
0.25629999999701975,
0.2589000000059605,
0.24620000000298023,
0.22480000000447034,
0.2395,
0.3311999999955296,
0.30489999999850986,
0.29190000000596045,
0.32830000000447035,
0.3283999999985099,
0.24179999999701976,
0.2275,
0.27180000000447035,
0.2555,
0.247,
0.22589999999850988,
0.26480000000447035,
0.301,
0.2711000000014901,
0.26180000000447035,
0.20310000000149012,
0.2701999999955296,
0.26310000000149014,
0.24160000000149012,
0.24780000000447036,
0.28369999999552964,
0.2684000000059605,
0.2595,
0.17970000000298023,
0.2355,
0.20620000000298022,
0.23260000000149011,
0.2163999999985099,
0.20069999999552965,
0.18790000000596047,
0.20460000000149012,
0.19330000000447034,
0.2045,
0.2145,
0.24509999999403953,
0.23510000000149012,
0.1876000000014901,
0.3296999999955296,
0.261,
0.28719999999552964,
0.2605,
0.31910000000149014,
0.29739999999850986,
0.27279999999701976,
0.29020000000298024,
0.2306000000014901,
0.26010000000149014,
0.4481999999955297,
0.3225,
0.31010000000149013,
0.25479999999701974,
0.21429999999701976,
0.32479999999701975
]
}
@eldoy
Copy link

eldoy commented Jul 4, 2023

This page would be more useful if there was a summary on top so I didn't have to read through all the numbers :)

@guest271314
Copy link
Author

You mean which JavaScript runtimes are fastest and slowest on my machine?

If I remember correctly I just posted the raw data so folks in the field would actually have to test for themselves and not rely on my claims alone.

@eldoy
Copy link

eldoy commented Jul 4, 2023

Yes, that's what I mean, a summary so noone else has to waste time doing what you already did. I trust you.

@guest271314
Copy link
Author

See updated gist.

@eldoy
Copy link

eldoy commented Jul 4, 2023

Awesome, thanks my friend! :)

@guest271314
Copy link
Author

No worries. I don't trust anybody's claims. I stringly encourage you to test for yourself on your machine for independent verification.

@eldoy
Copy link

eldoy commented Jul 4, 2023

That's a healthy attitude, not only when it comes to programming ;)

@eldoy
Copy link

eldoy commented Jul 4, 2023

You having said that makes you even more trustworthy actually.

@guest271314
Copy link
Author

Part of how I go about vetting claims - even my own - in the domains of history, political science, primary source research, and programming https://gist.githubusercontent.com/guest271314/1fcb5d90799c48fdf34c68dd7f74a304/raw/adac02f081f985af4926d43f0179a7bf94293c59/UseItBreakItFileBugsRequestFeaturesTestTestTestTestToThePointItBreaks.txt

Now watch. ..., this how science works.
One researcher comes up with a result.
And that is not the truth. No, no.
A scientific emergent truth is not the
result of one experiment. What has to
happen is somebody else has to verify
it. Preferably a competitor. Preferably
someone who doesn't want you to be correct.

  • Neil deGrasse Tyson, May 3, 2017 at 92nd Street Y

@eldoy
Copy link

eldoy commented Jul 4, 2023

Yes, and question everything that those guys claim too. "Science", by virtue of how it currently works, can never be proven to be true, it can only be falsified, thus you can never believe any of it if you are true to yourself. Most of what we believe today are just misguided fantasies created by men just as confused as everyone else.

That's why I like coding, it is usually true, and if it's not, it's my fault.

@guest271314
Copy link
Author

Science requires the scientific method. That is the process quoted above. Hypothesis, somebody else - prefereably a competitor, sombody who doesn't want the claimaint to be correct - must reproduce the claims, then there is provable truth. Otherwise, just a claim. Propaganda such as "Trust the science" is completely unscientific and makes absolutely no sense.

I don't believe anything.

Even in coding people make wild claims. E.g., the idea of "white noise" and "black noise" where in the formal discipline of physics light and sound cannot be mapped 1:1, each phenomenon has different properties. An individual has to arbitrarily pick a color to begin with to map to sound.

@eldoy
Copy link

eldoy commented Jul 4, 2023

It is still just a claim no matter how many people "reproduce" it. Using a method that can only falsify to prove something only leads to approximation of the truth. Any new hypothesis will completely derail the current consensus, and that goes on forever, which is why we are, and always will be, so confused :)

@guest271314
Copy link
Author

It is still just a claim no matter how many people "reproduce" it.

That is not true.

Using a method that can only falsify to prove something only leads to approximation of the truth.

If a claim cannot be reproduced it is not true. If a claim can be reproduce, by people other than the claimain, it is true.

Any new hypothesis will completely derail the current consensus

I'm not looking for consensus when I reproduce steps and reach the result described. The result stands on its own.

, and that goes on forever, which is why we are, and always will be, so confused :)

I am not confused. I know how to make conclusions, based on empirical evidence.

@eldoy
Copy link

eldoy commented Jul 4, 2023

It seems like you believe after all! You actually believe this:

"If a claim cannot be reproduced it is not true. If a claim can be reproduce, by people other than the claimain, it is true."

So you are either slightly hypocritical, or at least slightly in denial. And possibly somewhat indoctrinated in the church of "scientism" it seems? :)

This is how they trick us, by forging reproductions, and refusing to conduct experiments on things they don't want to show.

@guest271314
Copy link
Author

It seems like you believe after all! You actually believe this:

"If a claim cannot be reproduced it is not true. If a claim can be reproduce, by people other than the claimain, it is true."

There is no belief involved in that process. Only empirical facts.

So you are either slightly hypocritical, or at least slightly in denial. And possibly somewhat indoctrinated in the church of "scientism" it seems? :)

No. Furtunately I was not indoctrinated into any religion as a child, and know that the term "science" alone doesn't mean anything.

I alos know that the claims of a system cannot be proven within that system, mathematically.

You write out the step to reproduce a result. I repeat those steps. I either reproduce that result, or I don't. No belief is involved.

@guest271314
Copy link
Author

This is how they trick us

Who is "they" and "us"?

@eldoy
Copy link

eldoy commented Jul 4, 2023

Empirical facts don't exist, that is what you're confused about ;) Literally everything you think is true is a belief, not actual facts. So you are, in fact, religious, indoctrinated into a church you never knew existed. Your entire existence, and everyone else's, is purely subjective.

Man made words in a man made language, which your thoughts manifest as, can never describe anything in anyone's experience, ever, with any kind of accuracy.

@eldoy
Copy link

eldoy commented Jul 4, 2023

Most people aren't comfortable living with the notion that they don't know anything though, which is understandable :)

@guest271314
Copy link
Author

Empirical facts don't exist, that is what you're confused about ;) Literally everything you think is true is a belief, not actual facts. So you are, in fact, religious, indoctrinated into a church you never knew existed. Your entire existence, and everyone else's, is purely subjective.

Well, I disagree. Our dialgue here is a fact you cannot dispute.

Man made words in a man made language, which your thoughts manifest as, can never describe anything in anyone's experience, ever, with any kind of accuracy.

Again, I disagree. As Alan Watts put it: "You are it".

@guest271314
Copy link
Author

Most people aren't comfortable living with the notion that they don't know anything though, which is understandable :)

You can color yourself a nihilist, agnostic, orange, greem, whatever.

I long ago taught myself how to make conclusions.

After all, I am the universe. There is no separation. This is all one continuous energy that I am directly connected to, and am the connection itself.

Have a listen to "Spiritual War" by Prodigy of Mobb Deep

Whole universe is my power source
I stay on, I stay lit

@guest271314
Copy link
Author

Most people

There is no such thing. Humans are individuals. You cannot determine what one individual human is thinking or might do or not do - politically - based on any other individual.

@eldoy
Copy link

eldoy commented Jul 4, 2023

I am the universe. You do not exist. Disprove my claim! :)

@guest271314
Copy link
Author

Well, you have disproved your own claim by already knowing I exist and asking me a question that you are now reading the answer to.

@eldoy
Copy link

eldoy commented Jul 4, 2023

Haha touché :)

@guest271314
Copy link
Author

I think you have the western academic training to think of yourself as an observer of the universe rather than being the universe yourself. Again, I encourage you to listen to Alan Watt's lecture "You are it".

@eldoy
Copy link

eldoy commented Jul 5, 2023

I encourage you to stop listening to other people. It is obvious that I am the center of the universe, however it's less obvious if I have the power to change it or if I am simply an observer. None of that really matters though. Most people contemplating these things are probably just very depressed, and don't have a clear purpose.

@guest271314
Copy link
Author

I encourage you to stop listening to other people.

Can't do. I enjoy music. And appreciate an individual reared in western religion getting Zen.

It is obvious that I am the center of the universe, however it's less obvious if I have the power to change it or if I am simply an observer.

Change the universe to what? What part of yourself do you want to change? Get 'er done yourself.

Well, your indecision is your own.

I know exactly who I am and where I am in the timeline. It's called knowledge of self.

If you prefer European though, Nietsche took Schopenhauer's metaphysical "Will to power" literally, and got rid of any excuses.

None of that really matters though.

Everything matters.

Most people

Again, that generalization is far too braod. You have not polled "Most people" and I'm rather certain you can't speak for them. The moment you make those assumptions a John Brown emerges; Mendel's variation. You can't predict what an individual will do. As Alan Watts put it, the divine essentially got bored, broke itself into infinite pieces and is playing hide-go-seek with itself.

contemplating these things are probably just very depressed, and don't have a clear purpose.

Naturally. There are more illiterate peasants than Barons. Yet the Baron must go to the artisan to build their fortifications, must go to the farmer for their food, must have somebody else clean up their messes, so they can pretend they are different than any other human for a moment. Not everybody has the acumen to rule - not even themselves.

@eldoy
Copy link

eldoy commented Jul 5, 2023

When you refer to other people to prove a point, it makes it seem like you are incapable of true self reflection, and you belittle the things I write by telling me those people know better, which they obviously don't, why would they? It's like you're saying those guys are somehow smarter than you? If you look up to others you look down on yourself, you should stop that. Think for yourself.

"I know exactly who I am and where I am in the timeline. It's called knowledge of self."

No you don't. Nobody knows that. That is just a delusional belief you cling to, to keep you grounded. And that is the root of all our suffering and insecurities, and why most of us are clowns, including myself. We don't know what we're supposed to do, or why we're here. Isn't the key to true "Zen" is being comfortable with the fact that you don't know who or where you are?

Listening to others lets them poison your mind, and you absorb their confusion and depression. Be careful with that. There's plenty of music and sounds without vocals.

@guest271314
Copy link
Author

I provide attribution to peple who have said something noteworthy in my view. Nietzsche's idea of "Will to power" borrowed from or based on criticism of Schopenhuaer's concept leaves no room for excuses. Don't matter how you get it done, exercse will to power and make it so. That is recognition of a reflection. Those infinite poeces I spoke of earlier that are all part of the divinve playing hide-go-seek with itself.

No you don't. Nobody knows that.

I do. Precisely.

I didn't ask you a question. I told you what it is.

@guest271314
Copy link
Author

Isn't the key to true "Zen" is being comfortable with the fact that you don't know who or where you are?

No.

I am the original man on this planet; the original DNA. The prototype. The root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment