Skip to content

Instantly share code, notes, and snippets.

@smetj
Last active December 14, 2015 07:38
Show Gist options
  • Save smetj/5051568 to your computer and use it in GitHub Desktop.
Save smetj/5051568 to your computer and use it in GitHub Desktop.
Comparing hits per second using DictGenerator between WishBone 0.2 and WishBone 0.3
[smetj@sandbox]# ./wishbone debug --config dictgen_v0.2.json
Function metrics:
+-----------------+----------+------------+-----------------+--------+--------------+
| Instance | Function | Total time | Hits per second | Hits | Average time |
+-----------------+----------+------------+-----------------+--------+--------------+
| Intance #0:null | consume | 2.296784 | 4342 | 224780 | 1e-05 |
+-----------------+----------+------------+-----------------+--------+--------------+
Connector metrics:
+---------------+-------------+--------+
| Source | Destination | Hits |
+---------------+-------------+--------+
| dictgen.inbox | null.inbox | 224781 |
+---------------+-------------+--------+
[smetj@sandbox]# ./wishbone debug --config dictgen_v0.3.json
Function metrics:
+-----------------+----------+------------+-----------------+--------+--------------+
| Instance | Function | Total time | Hits per second | Hits | Average time |
+-----------------+----------+------------+-----------------+--------+--------------+
| Intance #0:null | consume | 1.097618 | 8000 | 185500 | 6e-06 |
+-----------------+----------+------------+-----------------+--------+--------------+
Connector metrics:
+---------------+-------------+--------+
| Source | Destination | Hits |
+---------------+-------------+--------+
| dictgen.inbox | null.inbox | 185500 |
+---------------+-------------+--------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment