Giter Club home page Giter Club logo

Comments (5)

SamYuan1990 avatar SamYuan1990 commented on May 29, 2024

假设我们测试101个tx
10个tx一个块(max msg count)
前10个块 1s 一个, tps 为10
最后一个块10s出(batch timeout)
那么总计用了20s出了101个tx在11个块内。 tps=101/20 于等于5
但是实际上我们tps也许应该是10?

from tape.

guoger avatar guoger commented on May 29, 2024

我们在readme里边提到了这一点:https://github.com/guoger/tape/blob/352a8b6af02f18d654a564e62f6b255cc551242b/README.md#L107

另外,当测试时间足够长,最后一个块的延时应该不会有太大影响

from tape.

SamYuan1990 avatar SamYuan1990 commented on May 29, 2024

我给的1w....

from tape.

SamYuan1990 avatar SamYuan1990 commented on May 29, 2024

难道说1w太小了么?

from tape.

guoger avatar guoger commented on May 29, 2024

per offline discussion with @SamYuan1990 , this is not an issue, since we've suggested to set N divisible by batchsize. And as long as N is large enough, a slow last block shouldn't affect overall avg number dramatically. Closing the issue

from tape.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.