1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

20 commits

Author SHA1 Message Date
Gareth Rees
230d7cf721 Avoid warnings from xcode for string literals that exceed the portable limit.
Copied from Perforce
 Change: 186632
 ServerID: perforce.ravenbrook.com
2014-06-14 16:18:50 +01:00
Gareth Rees
cd291a5f7a Merge branch/2014-06-11/grain into branch/2014-05-28/align.
Copied from Perforce
 Change: 186561
 ServerID: perforce.ravenbrook.com
2014-06-13 13:35:14 +01:00
Gareth Rees
a9923af928 Add -a (arena alignment) argument to djbench and gcbench.
Copied from Perforce
 Change: 186374
 ServerID: perforce.ravenbrook.com
2014-05-30 13:03:06 +01:00
Gareth Rees
c639055f7b In light of performance findings, boost the default arena size to 256 mb. add a -m option to djbench so that we can test the effect of setting the initial arena size on the manual pool classes.
Copied from Perforce
 Change: 186224
 ServerID: perforce.ravenbrook.com
2014-05-20 23:25:03 +01:00
Gareth Rees
b70e268929 Fix problems found by coverity. see <https://info.ravenbrook.com/mail/2014/04/10/23-23-42/0/> for full analysis.
Copied from Perforce
 Change: 185445
 ServerID: perforce.ravenbrook.com
2014-04-11 00:26:48 +01:00
Gareth Rees
993821517e Fix bugs in exposet0.c and steptest.c on windows.
Port djbench and gcbench to Windows.
Run amcssth and awlutth test cases on Windows.

Copied from Perforce
 Change: 185354
 ServerID: perforce.ravenbrook.com
2014-04-08 16:26:27 +01:00
Gareth Rees
a03056f39a New header testthr.h provides simple threading interface.
Implementations testthrix.c for Unix and testthrw3.c for Windows.
Multi-threaded test cases use the new interface.
Rename lockutw3 to lockut (no longer Windows-specific).
Run multi-threaded test cases on Windows and lockut elsewhere.

Copied from Perforce
 Change: 185350
 ServerID: perforce.ravenbrook.com
2014-04-08 15:14:32 +01:00
Richard Brooksby
098eb9e6d7 Catch-up merge from master.
Copied from Perforce
 Change: 184732
 ServerID: perforce.ravenbrook.com
2014-03-11 16:30:47 +00:00
Gareth Rees
1243791d24 Ensure that djbench and gcbench compile on freebsd:
Link fmtdy with gcbench.
RESERVE_ALLOC in djbench ignores the return values from mps_reserve and mps_commit.
Don't include alloca.h -- alloca is in stdlib.h.
Rename start, finish to begin, end to avoid "local variable shadows global" error from gcc.

Copied from Perforce
 Change: 184691
 ServerID: perforce.ravenbrook.com
2014-03-08 00:36:32 +00:00
Gareth Rees
cd7110d70a Add locbwcss and locusss to the test suite on os x, freebsd and linux.
Add const qualifier so that locbwcss and locusss compile without warnings.
Build djbench and gcbench on FreeBSD and Linux.
Don't include <alloca.h> -- alloca is in stdlib.h.

Copied from Perforce
 Change: 184689
 ServerID: perforce.ravenbrook.com
2014-03-08 00:24:04 +00:00
Richard Brooksby
eb75944742 Adding a keyword to the arena to disable zoned allocation.
Copied from Perforce
 Change: 184599
 ServerID: perforce.ravenbrook.com
2014-02-28 13:20:06 +00:00
Gareth Rees
32d10cd02a Make mps_args_done obsolete.
Copied from Perforce
 Change: 184543
 ServerID: perforce.ravenbrook.com
2014-02-26 12:47:27 +00:00
Richard Brooksby
728ea5e066 Inclusion order mysteriously prevents profiling under xcode.
Copied from Perforce
 Change: 184111
 ServerID: perforce.ravenbrook.com
2014-01-24 16:00:49 +00:00
Richard Brooksby
b0e4e8528f Adding multi-threading to djbench in order to test performance with thread contention.
Copied from Perforce
 Change: 182778
 ServerID: perforce.ravenbrook.com
2013-06-16 21:20:29 +01:00
Richard Brooksby
8ef0a0be21 Adding recursion factor and repeatable random number seeding to dj benchmark.
Copied from Perforce
 Change: 182776
 ServerID: perforce.ravenbrook.com
2013-06-16 18:59:54 +01:00
Richard Brooksby
d02bc32f5f Adding leader comment description, copyright, and license.
Copied from Perforce
 Change: 182775
 ServerID: perforce.ravenbrook.com
2013-06-16 15:36:17 +01:00
Richard Brooksby
e73109d070 Tidying up djbench and merging into a single file rather than relying on #include hacks.
Copied from Perforce
 Change: 182774
 ServerID: perforce.ravenbrook.com
2013-06-16 15:32:43 +01:00
Richard Brooksby
201a76c3b7 Improving usage message.
Copied from Perforce
 Change: 182772
 ServerID: perforce.ravenbrook.com
2013-06-16 00:55:41 +01:00
Richard Brooksby
be18333bdb Fixing parsing of -s and -r options.
Copied from Perforce
 Change: 182768
 ServerID: perforce.ravenbrook.com
2013-06-16 00:38:06 +01:00
Richard Brooksby
c548654603 Generalising dj benchmark test to accept options controlling test parameters and arguments saying which pool classes to test.
Copied from Perforce
 Change: 182767
 ServerID: perforce.ravenbrook.com
2013-06-16 00:21:28 +01:00