nats-io / nats.ts

TypeScript Node.js client for NATS, the cloud native messaging system
https://www.nats.io
Apache License 2.0
178 stars 13 forks source link

Performance #16

Closed aricart closed 6 years ago

aricart commented 6 years ago

Re-wrote control line parser to eliminate blind string conversions. Reduced number of copies and buffer collapses

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 28


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/protocolhandler.ts 13 14 92.86%
src/messagebuffer.ts 11 12 91.67%
src/databuffer.ts 29 31 93.55%
<!-- Total: 55 59 93.22% -->
Files with Coverage Reduction New Missed Lines %
src/protocolhandler.ts 1 87.79%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 22: -0.5%
Covered Lines: 993
Relevant Lines: 1048

💛 - Coveralls