benchfella icon indicating copy to clipboard operation
benchfella copied to clipboard

Allow functionality to skip a bench

Open devinus opened this issue 11 years ago • 3 comments

  bench "String Escaping (JSEX)", [string: gen_string] do
    # JSX doesn't support escaping unicode, it's unsupported
    :timer.sleep(1000)
  end

Maybe color it red in the results?

devinus avatar Aug 30 '14 10:08 devinus

I don't understand. If there is nothing to benchmark, why write the test in the first place?

alco avatar Aug 30 '14 20:08 alco

Well, I'm writing a suite of tests that test different functionality for different libraries, and sometimes a library simply wont have that feature.I'd like to not just exclude the test since it's slightly confusing unless you know it's unsupported.

devinus avatar Aug 30 '14 22:08 devinus

So you have the same benchmark suite for different libraries? If that is the case, that might not be supported for quite some time if at all. I'd like to keep benchfella narrow in scope for now.

alco avatar Aug 31 '14 12:08 alco