Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

New comment on block [block-idm181619492560] #2576

Open
mavant opened this Issue May 9, 2014 · 0 comments

Comments

Projects
None yet
1 participant

mavant commented May 9, 2014

The code as presented gave me a type error when declaring run_bench- it seems like Bench.bench needs a Display_config passed rather than specifying the table options directly? Doing this seems to give the desired results:

let run_bench tests =
Bench.bench
  ~display_config:(Bench.Display_config.create ~ascii_table:true ~display:Textutils.Ascii_table.Display.column_titles  ~show_percentage:true () )
  tests
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment