# Bug in benchmark comparison

**URL:** <https://community.rubybench.org/t/bug-in-benchmark-comparison/147>\
**Category:** Uncategorized\
**Created:** [July 4, 2017, 12:20am UTC](https://community.rubybench.org/t/bug-in-benchmark-comparison/147 "2017-07-04T00:20:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)\
**Post date:** [July 4, 2017, 12:20am UTC](https://community.rubybench.org/t/bug-in-benchmark-comparison/147/1 "2017-07-04T00:20:10Z")

</div>

@bmarkons Minor bug here:

![](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/29ada0f16dcccda321f7d306e8c67152472e7024.png)

[https://rubybench.org/jeremyevans/sequel/commits?result\_type=sequel/postgres\_scope\_where&display\_count=2000&compare\_with=actioncable/postgres](https://rubybench.org/jeremyevans/sequel/commits?result_type=sequel/postgres_scope_where&display_count=2000&compare_with=actioncable/postgres)

When one of the benchmarks do not have enough results, it isn’t display on the X-axis correctly.

---

<div class="post-metadata">

**Author:** ![bmarkons](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rubybench.org/bmarkons/32/87_2.png) [@bmarkons](https://community.rubybench.org/u/bmarkons)\
**Post date:** [July 4, 2017, 7:39am UTC](https://community.rubybench.org/t/bug-in-benchmark-comparison/147/2 "2017-07-04T07:39:01Z")

</div>

Hmm, it’s because both series use common x-axis categories. I had some time thinking about what would be the best way to display comparisons. Probably would be the best to have it without common x-axis categories with results ordered by their commit created\_at timestamp. I have [Highstock](https://www.highcharts.com/stock/demo) in mind since it has very nice features for displaying multi series graphs.
