)]}'
{
  "commit": "1e7ebb8fa8be3b28664c0eab35574f4da2364c49",
  "tree": "6aecf892a0395a762dea251ad7cba74f77c7ba72",
  "parents": [
    "e7211877526ddd4a680cacaa1d55a7466e8fe989"
  ],
  "author": {
    "name": "Yuri Mizushima",
    "email": "equanz@apache.org",
    "time": "Sun Apr 16 23:48:54 2023 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Apr 16 22:48:54 2023 +0800"
  },
  "message": "fix: modify perf_producer to run properly (#318)\n\n### Motivation\r\nI noticed the `perf_producer` is not working properly as follows. I want to fix it.\r\n\r\n```\r\n% node perf/perf_producer.js -u pulsar://localhost:6650 -t persistent://public/default/my-topic -i 1000\r\n----------------------\r\nsize: 1024\r\nurl: pulsar://localhost:6650\r\ntopic: persistent://public/default/my-topic\r\niteration: 1000\r\nmessages: 1000\r\n----------------------\r\n/Users/equanz/src/pulsar-client-node/perf/perf_producer.js:107\r\n      histogram.getMean(),\r\n                ^\r\n\r\nTypeError: histogram.getMean is not a function\r\n    at /Users/equanz/src/pulsar-client-node/perf/perf_producer.js:107:17\r\n\r\nNode.js v18.6.0\r\n```\r\n\r\n### Modifications\r\n\r\n* Modify the `perf_producer` to address [migration procedures](https://github.com/HdrHistogram/HdrHistogramJS/tree/v2.0.1#migrating-from-v1-to-v2)",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fbe12f14568882b9c37388a87fbed5cbcf50ede8",
      "old_mode": 33188,
      "old_path": "perf/perf_producer.js",
      "new_id": "4638b59ece45f8fece9d6e99bdba5989e83badda",
      "new_mode": 33188,
      "new_path": "perf/perf_producer.js"
    }
  ]
}
