Skip to content

Problem with benchmarks #3

@joeldrapper

Description

@joeldrapper

Hey, I love what you’re doing here. I’ve been working on something pretty similar for a while now. Love writing views in Ruby!

I feel really bad for pointing this out, but the benchmarks here spend a significant amount of time generating random data, it’s only possible for them to show a few percentage points of difference because of this.

It might make sense to generate this random data once and assign it to a constant so it doesn’t impact the results.

https://github.com/sebyx07/ruby2html/blob/main/app/controllers/benchmark_controller.rb#L17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions