Ordering columns and output

51 views
Skip to first unread message

Maaartin G

unread,
Nov 25, 2012, 5:57:25 PM11/25/12
to cal...@googlegroups.com
I've got two questions:

1. Is there a way to specify or at least fix the column order in the console output? It seems to change quite randomly which makes comparing multiple runs quite hard. This is a duplicate of  http://stackoverflow.com/questions/13445638/force-fixed-column-order-with-caliper where nobody seems to react.

2. Is there a way to get the standard output during a normal run? I understand that doing any output is no good for the benchmark, but sometimes strange things happen and such an output can help to track down the problem quickly (debugging doesn't work for me as it's a separate process and for whatever reason I can't attach the debugger).

Gregory Kick

unread,
Nov 26, 2012, 10:18:39 AM11/26/12
to cal...@googlegroups.com
On Sun, Nov 25, 2012 at 5:57 PM, Maaartin G <maaar...@gmail.com> wrote:
I've got two questions:

1. Is there a way to specify or at least fix the column order in the console output? It seems to change quite randomly which makes comparing multiple runs quite hard. This is a duplicate of  http://stackoverflow.com/questions/13445638/force-fixed-column-order-with-caliper where nobody seems to react.

SO was definitely a blind spot.  I'll respond there.
 

2. Is there a way to get the standard output during a normal run? I understand that doing any output is no good for the benchmark, but sometimes strange things happen and such an output can help to track down the problem quickly (debugging doesn't work for me as it's a separate process and for whatever reason I can't attach the debugger).

Caliper 1.0 (coming very, very soon) has a --verbose flag that will give you that output.
 

--
guava-...@googlegroups.com
Project site: http://caliper.googlecode.com
This group: http://groups.google.com/group/caliper
 
This list is for general discussion.
To report an issue: http://code.google.com/p/caliper/issues/entry
To get help: http://stackoverflow.com/questions/ask (use the tag "caliper")



--
Greg Kick
Java Core Libraries Team

Travis Downs

unread,
Dec 12, 2012, 3:07:10 AM12/12/12
to cal...@googlegroups.com
I would also love to see some way to order columns - they seem to flip around randomly (perhaps hash map order), and some layouts are much more amenable than others.

Jesse Wilson

unread,
Dec 12, 2012, 12:11:25 PM12/12/12
to cal...@googlegroups.com
On Wed, Dec 12, 2012 at 3:07 AM, Travis Downs <travis...@gmail.com> wrote:
I would also love to see some way to order columns - they seem to flip around randomly (perhaps hash map order), and some layouts are much more amenable than others.

Agreed that the random flipping of columns is a problem. But the order isn't random; it's from most-variable to least variable. The variable that had the most impact on the result is always in the leftmost column.
Reply all
Reply to author
Forward
0 new messages