0.0.5 • Published 1 year ago

perfo v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Perfo

A minimalist starter repository and a utility library for performance testing.

Capabilities

  • TypeScript
  • mocha

Usage

import { counter } from 'perfo';
// ...
const c = counter();

channel.consume(queue, function (msg) {
    c.write(msg.content.length);

    const {throughput, rps} = c.read();

    console.log(" [x] Received %s", size, 'throughput:', throughput, 'bytes/s', 'rps:', rps, 'msg/s');

    channel.ack(msg);
}, {
    noAck: false
});
0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago