发布于 2017-03-22 00:21:04 | 62 次阅读 | 评论: 0 | 来源: 网友投递
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v7.7.4, v6.10.1 和 v4.8.1 发布了。
deps: 升级内部地节点检查版本为 1.10.6,包含几个修复程序 (Jan Krems) #11869
inspector: 绑定到 0.0.0.0 时使用正确的 WebSocket URL(Eugene Ostroukhov) #11850
tls: 修复了在部分读取后手柄被销毁时的 segfault (Ben Noordhuis) #11898
点此查看发布主页,完整版更新内容,请查看 Changelog。
performance: 几个 API 的性能已得到改进
Buffer.compare()
is up to 35% faster on average. (Brian White) #10927
buffer.toJSON()
is up to 2859% faster on average. (Brian White) #10895
fs.*statSync()
functions are now up to 9.3% faster on average. (Brian White) #11522
os.loadavg
is up to 151% faster. (Brian White) #11516
process.memoryUsage()
is up to 34% faster. (Brian White) #11497
querystring.unescape()
for Buffer
s is 15% faster on average. (Brian White) #10837
querystring.stringify()
is up to 7.8% faster on average. (Brian White) #10852
querystring.parse()
is up to 21% faster on average. (Brian White) #10874
IPC: Batched writes have been enabled for process IPC on platforms that support Unix Domain Sockets. (Alexey Orlenko) #10677
Performance gains may be up to 40% for some workloads.
child_process: spawnSync
now returns a null status
when child is terminated by a signal. (cjihrig) #11288
This fixes the behavior to act like spawn()
does.
http:
node: Heap statistics now support values larger than 4GB. (Ben Noordhuis) #10186
timers: Timer callbacks now always maintain order when interacting with domain error handling. (John Barboza) #10522
点此查看发布主页,完整版更新内容,请查看 Changelog。
buffer: The performance of .toJSON()
is now up to 2859% faster on average. (Brian White) #10895
IPC: Batched writes have been enabled for process IPC on platforms that support Unix Domain Sockets. (Alexey Orlenko) #10677
Performance gains may be up to 40% for some workloads.
http:
Control characters are now always rejected when using http.request()
. (Ben Noordhuis) #8923
node: Heap statistics now support values larger than 4GB. (Ben Noordhuis) #10186
点此查看发布主页,完整版更新内容,请查看 Changelog。