Meredith L. Patterson
1ffd8d9276
Fix undefined behaviour around system_allocator, issue #133 .
2015-08-02 21:32:47 +02:00
Steven Dee
a0104776ed
Free res_unamb
2015-01-04 21:38:04 -05:00
Steven Dee
f2434d5b12
Move backend names into src/benchmark.c
...
It's causing unreferenced-variable warnings, and isn't referenced
anywhere aside from benchmark.c. If client code is likely to reference
it, perhaps move it into another header, so people who include hammer.h
don't have to refer to it to have warning-free code.
2014-12-07 00:12:11 -05:00
Meredith L. Patterson
eb04842d85
slightly nicer benchmark output
2014-04-20 17:31:21 +02:00
Meredith L. Patterson
1d12f9ffac
regex_compile should return -1 if not a regular grammar; give backends names
2014-04-20 17:23:25 +02:00
TQ Hirsch
426a3f8468
Ported to NetBSD (1/2): Replaced Linux-specific timer call
...
CLOCK_THREAD_CPUTIME_ID is a linux-specific timer. On NetBSD, the best
way to get timer information appears to be getrusage, which happens to
be fairly cross-platform.
2014-04-13 14:36:38 -07:00
Peter Johnson
c8fc061ea6
Ditch longs and long longs in favor of stdint.h types, which has cascading
...
effects throughout, including use of inttypes.h/PRI[ud]64 because printf() is
still stuck in a long world, conversion of %lu to %zu for printing values of
type size_t, and changing/renaming the g_check_cmp* family of functions.
2013-11-15 00:12:57 -05:00
Meredith L. Patterson
43f1d70a5f
Merging JakobR's OS X build changes.
2013-10-18 12:14:18 +02:00
Sven M. Hallberg
f33390a510
fix memory issues in benchmark.c
2013-05-12 02:54:28 +02:00
Sven M. Hallberg
fa1e59fe68
Revert "don't touch parser->backend in benchmark.c"
...
This reverts commit d81d820dca .
2013-05-12 01:18:46 +02:00
Sven M. Hallberg
d81d820dca
don't touch parser->backend in benchmark.c
2013-05-11 22:24:49 +02:00
Sven M. Hallberg
207fc6adef
fix (I think?) the test case failure detection login in benchmark.c
2013-05-11 21:44:01 +02:00
Dan Hirsch
13088c9d7a
Finshed up the regex backend
2013-04-26 20:36:54 -07:00
Meredith L. Patterson
6893987cbc
h_benchmark and h_benchmark_report work. Need tidying.
2012-11-09 01:50:07 -05:00
Meredith L. Patterson
c24044230b
Benchmark is actually broken right now, for mysterious double-free related reasons. I will dig into this tomorrow.
2012-11-08 01:36:19 -05:00
Meredith L. Patterson
771de6f98b
Benchmark test case array needed to be terminated with {NULL,0,NULL}. Noted that in comments.
2012-11-06 00:20:00 -05:00
Meredith L. Patterson
21ec962d76
Working on benchmarking test. A lot of things needed to be const and weren't.
2012-11-05 23:08:18 -05:00
Dan Hirsch
d0d9a94fd0
Added benchmark skeleton, and at least stubs for all of the necessary functions
2012-11-02 17:16:53 -04:00