]> git.llucax.com Git - software/dgc/dgcbench.git/log
software/dgc/dgcbench.git
15 years agoTell the programs to collect statistics
Leandro Lucarella [Sat, 19 Sep 2009 20:51:31 +0000 (17:51 -0300)]
Tell the programs to collect statistics

Pass the environment variable D_GC_STATS=1 to programs when running them
to tell them to collect GC statistics, just in case the collector don't
do it by default and understand the meaning of the environment variable.

15 years agoImprove makefile organization
Leandro Lucarella [Sat, 19 Sep 2009 20:49:56 +0000 (17:49 -0300)]
Improve makefile organization

Group common and micro-benchmarks rules together.

15 years agoAlways link against tango-user library
Leandro Lucarella [Sat, 19 Sep 2009 20:43:34 +0000 (17:43 -0300)]
Always link against tango-user library

15 years agoMove Makefile to the top-level directory
Leandro Lucarella [Thu, 27 Aug 2009 18:08:22 +0000 (15:08 -0300)]
Move Makefile to the top-level directory

This is to prepare the terrain to add real programs benchmarks, like Dil.

15 years agomicro: Remove ".c" suffix from plotted files
Leandro Lucarella [Thu, 27 Aug 2009 00:20:27 +0000 (21:20 -0300)]
micro: Remove ".c" suffix from plotted files

Originally a ".c" suffix was used to mark files as being related to
*C*ollections. But since both collections and allocations statistics are
now plotted in the same file, there is no point in that distinction (which,
OTOH, is wrong too).

15 years agomicro: Plot allocation statistics (time, space and histogram)
Leandro Lucarella [Thu, 27 Aug 2009 00:15:14 +0000 (21:15 -0300)]
micro: Plot allocation statistics (time, space and histogram)

The allocation statistics are plotted in the same graph where the
collections are plotted using the same program run time axe (where
possible) to easy comparisons and analysis.

15 years agomicro/shootout_binarytrees.d: Remove output
Leandro Lucarella [Thu, 27 Aug 2009 00:11:30 +0000 (21:11 -0300)]
micro/shootout_binarytrees.d: Remove output

All output was commented anyways, so importing tango.io.Stdout would only
need to some unneeded "startup-time" allocations.

15 years agomicro: Add a script to generate histogram tics
Leandro Lucarella [Thu, 27 Aug 2009 00:09:09 +0000 (21:09 -0300)]
micro: Add a script to generate histogram tics

There is no way to take histogram tics labels from a data file in GNUPlot.
A new script is added to generate the histogram tics labels from the data,
suitable to be included directly in a GNUPlot script.

15 years agomicro: Improve generation of data to plot the histogram
Leandro Lucarella [Thu, 27 Aug 2009 00:06:17 +0000 (21:06 -0300)]
micro: Improve generation of data to plot the histogram

If a program allocates a lot of cell with different  sizes the histogram
would have a lot of  bars to plot, making it very hard to read.

The script to generate the histogram data is improved to take a maximum
number of cell sizes. If that limit is passed, the cell sizes are grouped
together in ranges of cell sizes, keeping the histogram readable.

15 years agomicro/split.d: Take the file to split from the command line
Leandro Lucarella [Sun, 23 Aug 2009 20:01:23 +0000 (17:01 -0300)]
micro/split.d: Take the file to split from the command line

The Makefile is adapted to make possible to pass arguments to an arbitrary
benchmark program.

15 years agomicro: Remove unneeded copy in Makefile
Leandro Lucarella [Sat, 22 Aug 2009 22:48:14 +0000 (19:48 -0300)]
micro: Remove unneeded copy in Makefile

The bible.txt file doesn't have to be copied to $(BIN_DIR) because the
program is executed from the same directory where bible.txt is.

15 years agomicro: Let Make figure out .INTERMEDIATE rules
Leandro Lucarella [Sat, 22 Aug 2009 22:46:05 +0000 (19:46 -0300)]
micro: Let Make figure out .INTERMEDIATE rules

15 years agomicro: Generate data to plot an allocation histogram
Leandro Lucarella [Sat, 22 Aug 2009 20:40:33 +0000 (17:40 -0300)]
micro: Generate data to plot an allocation histogram

The newly generated %.h.csv files has how many allocations has been
requested for each object (cell) size. A histogram will be plotted based
on this data in the future.

15 years agomicro: Move stats files (CSV) to its own directory
Leandro Lucarella [Sat, 22 Aug 2009 20:38:08 +0000 (17:38 -0300)]
micro: Move stats files (CSV) to its own directory

amend a plot

15 years agomicro/rnd_data_2.d: Add a comment about expected memory usage
Leandro Lucarella [Sat, 22 Aug 2009 20:32:34 +0000 (17:32 -0300)]
micro/rnd_data_2.d: Add a comment about expected memory usage

15 years agomicro/rnd_data_2.d: Group constants to easily tune the benchmark
Leandro Lucarella [Sat, 22 Aug 2009 20:31:46 +0000 (17:31 -0300)]
micro/rnd_data_2.d: Group constants to easily tune the benchmark

15 years agomicro/rnd_data_2.d: Don't disable the GC
Leandro Lucarella [Sat, 22 Aug 2009 20:30:28 +0000 (17:30 -0300)]
micro/rnd_data_2.d: Don't disable the GC

Disabling the GC for the filling up the array of arrays just improves the
performance, but has no point in the what the benchmark is trying to test.

15 years agoDon't use a base build directory
Leandro Lucarella [Sat, 22 Aug 2009 20:28:30 +0000 (17:28 -0300)]
Don't use a base build directory

15 years agoAdd some micro-benchmarks to plot GC statistics
Leandro Lucarella [Tue, 18 Aug 2009 01:25:12 +0000 (22:25 -0300)]
Add some micro-benchmarks to plot GC statistics