node-modules / qps Goto Github PK
View Code? Open in Web Editor NEWHigh performance qps counter
High performance qps counter
https://github.com/node-modules/qps/blob/master/index.js#L55
>2000
是怎么得出这个边界的?
get 方法的逻辑本身没有问题,但是由于调用时当前这一秒尚未走完,因此 this.counts[index][second] 中存储的 qps 不是当前一秒走完的数据,因此直接使用这个数据的意义不大,可以新增一个 getExact 方法,用来返回前一秒的数据。大佬觉得怎么样,如果 ok 的话我就提个 pr
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.