faster-than-c:谈话提纲-源码

上传者: 42117485 | 上传时间: 2021-07-03 09:10:06 | 文件大小: 23.05MB | 文件类型: ZIP
比C快? 在 JavaScript 中解析二进制数据。 本文档包含我 2012 年 JSConf.eu 演讲的大纲和代码片段: 介绍 大家好,我叫 ,今天我想谈谈“比 C 还快?解析 Node.js 流!”。 在开始之前,我要为“标题诱饵”道歉。 这个演讲是在 node.js 中分析 JavaScript 与 C-Bindings for MySQL 的性能,而不是 JavaScript 与 C 本身。 所以,我编写了这个模块,可以让您在 node.js 中与 MySQL 数据库对话。 我开始它是因为在 2010 年初没有用于 node.js 的 MySQL 模块。 嗯,这不完全正确。 有。 但遗憾的是,他始终没有完成。 然而,有一些有趣的事情。 它是用 JavaScript 编写的。 我的意思是只有 JavaScript,没有 C/C++。 事实上它更疯狂,因为当那个模块启动时

文件下载

资源详情

[{"title":"( 76 个子文件 23.05MB ) faster-than-c:谈话提纲-源码","children":[{"title":"faster-than-c-master","children":[{"title":"figures","children":[{"title":"common.mk <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"other","children":[{"title":"node-mariasql.png <span style='color:#111;'> 60.51KB </span>","children":null,"spread":false},{"title":"secret.jpeg <span style='color:#111;'> 218.77KB </span>","children":null,"spread":false},{"title":"troll.png <span style='color:#111;'> 127.86KB </span>","children":null,"spread":false},{"title":"node-mysql-original.png <span style='color:#111;'> 16.51KB </span>","children":null,"spread":false},{"title":"brian-white.png <span style='color:#111;'> 49.11KB </span>","children":null,"spread":false},{"title":"node-mysql.png <span style='color:#111;'> 36.31KB </span>","children":null,"spread":false},{"title":"oleg-efimov.png <span style='color:#111;'> 163.73KB </span>","children":null,"spread":false},{"title":"felix-geisendoerfer.png <span style='color:#111;'> 200.08KB </span>","children":null,"spread":false},{"title":"yuichiro-masui.png <span style='color:#111;'> 194.64KB </span>","children":null,"spread":false},{"title":"node-mysql-libmysqlclient.png <span style='color:#111;'> 65.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"mysql2-vs-new-parser","children":[{"title":"Rplots.pdf <span style='color:#111;'> 19.55KB </span>","children":null,"spread":false},{"title":"results","children":[{"title":"new-parser.tsv <span style='color:#111;'> 35.35KB </span>","children":null,"spread":false},{"title":"mysql2.tsv <span style='color:#111;'> 17.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"pngs","children":[{"title":"jitter.png <span style='color:#111;'> 164.43KB </span>","children":null,"spread":false},{"title":"jitter-annotated.png <span style='color:#111;'> 209.40KB </span>","children":null,"spread":false},{"title":"heap-used.png <span style='color:#111;'> 855.76KB </span>","children":null,"spread":false},{"title":"line.png <span style='color:#111;'> 175.05KB </span>","children":null,"spread":false},{"title":"heap-total.png <span style='color:#111;'> 104.62KB </span>","children":null,"spread":false},{"title":"bar.png <span style='color:#111;'> 66.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"benchmark","children":[{"title":"mysql2","children":[{"title":"npm-shrinkwrap.json <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true},{"title":"fixtures","children":[{"title":".empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"run.js <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"FixtureStream.js <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"new-parser","children":[{"title":"ElementParser.js <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"Protocol.js <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"PacketHeader.js <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"Row.js <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 422B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"pdfs","children":[{"title":"jitter-annotated.pdf <span style='color:#111;'> 35.75KB </span>","children":null,"spread":false},{"title":"line.pdf <span style='color:#111;'> 26.44KB </span>","children":null,"spread":false},{"title":"jitter.pdf <span style='color:#111;'> 8.66KB </span>","children":null,"spread":false},{"title":"bar.pdf <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"heap-used.pdf <span style='color:#111;'> 27.32KB </span>","children":null,"spread":false},{"title":"heap-total.pdf <span style='color:#111;'> 25.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"pdfs.r <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"snippets","children":[{"title":"benchmark.js <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":true},{"title":"mysql-libs","children":[{"title":"Rplots.pdf <span style='color:#111;'> 19.48KB </span>","children":null,"spread":false},{"title":"results","children":[{"title":"db-mysql-0.7.6.tsv <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"mysql-libmysqlclient-1.5.1.tsv <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false},{"title":"mariadb-0.1.7.tsv <span style='color:#111;'> 20.79KB </span>","children":null,"spread":false},{"title":"mysql-0.9.6.tsv <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"mysql-2.0.0-alpha3.tsv <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"pngs","children":[{"title":"mbit-jitter.png <span style='color:#111;'> 198.27KB </span>","children":null,"spread":false},{"title":"jitter.png <span style='color:#111;'> 154.56KB </span>","children":null,"spread":false},{"title":"mbit-line.png <span style='color:#111;'> 253.65KB </span>","children":null,"spread":false},{"title":"heap-used-line.png <span style='color:#111;'> 205.63KB </span>","children":null,"spread":false},{"title":"a-b-c-d.png <span style='color:#111;'> 119.57KB </span>","children":null,"spread":false},{"title":"a-b.png <span style='color:#111;'> 82.08KB </span>","children":null,"spread":false},{"title":"heap-total-line.png <span style='color:#111;'> 134.76KB </span>","children":null,"spread":false},{"title":"a-b-c.png <span style='color:#111;'> 102.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"benchmark","children":[{"title":"run.js <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"mysql-libmysqlclient-1.5.1","children":[{"title":"index.js <span style='color:#111;'> 631B </span>","children":null,"spread":false}],"spread":true},{"title":"mysql-0.9.6","children":[{"title":"index.js <span style='color:#111;'> 596B </span>","children":null,"spread":false}],"spread":false},{"title":"mariadb-0.1.7","children":[{"title":"index.js <span style='color:#111;'> 757B </span>","children":null,"spread":false}],"spread":false},{"title":"mysql-2.0.0-alpha3","children":[{"title":"index.js <span style='color:#111;'> 569B </span>","children":null,"spread":false}],"spread":false},{"title":"db-mysql-0.7.6","children":[{"title":"index.js <span style='color:#111;'> 586B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Makefile <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"pdfs","children":[{"title":"a-b-c-d.pdf <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"mbit-line.pdf <span style='color:#111;'> 7.62KB </span>","children":null,"spread":false},{"title":"heap-total-line.pdf <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"jitter.pdf <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":"a-b-c.pdf <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"a-b.pdf <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"heap-used-line.pdf <span style='color:#111;'> 7.87KB </span>","children":null,"spread":false},{"title":"mbit-jitter.pdf <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"pdfs.r <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"common.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 15.18KB </span>","children":null,"spread":false},{"title":"slides.key <span style='color:#111;'> 19.93MB </span>","children":null,"spread":false},{"title":"slides.pdf <span style='color:#111;'> 5.36MB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明