mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-24 07:41:54 -07:00
A few more mmqa speedups.
Copied from Perforce Change: 189948 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
37fc360ffe
commit
5899074dfb
6 changed files with 9 additions and 9 deletions
|
|
@ -182,7 +182,7 @@ static void test(void)
|
|||
commentif(VERBOSE, "%i begin commit", i);
|
||||
ap[i]->init = ap[i]->alloc;
|
||||
case 3:
|
||||
commentif(VERBOSE, "% end commit", i);
|
||||
commentif(VERBOSE, "%i end commit", i);
|
||||
(void) (ap[i]->limit != 0 || mps_ap_trip(ap[i], p[i], s[i]));
|
||||
}
|
||||
mps_ap_destroy(ap[i]);
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ cells = allocone(ap[0], NCELLS);
|
|||
commentif(VERBOSE, "%i begin commit", i);
|
||||
ap[i]->init = ap[i]->alloc;
|
||||
case 3:
|
||||
commentif(VERBOSE, "% end commit", i);
|
||||
commentif(VERBOSE, "%i end commit", i);
|
||||
(void) (ap[i]->limit != 0 || mps_ap_trip(ap[i], p[i], s[i]));
|
||||
}
|
||||
mps_ap_destroy(ap[i]);
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ cells = allocone(ap[0], NCELLS);
|
|||
commentif(VERBOSE, "%i begin commit", i);
|
||||
ap[i]->init = ap[i]->alloc;
|
||||
case 3:
|
||||
commentif(VERBOSE, "% end commit", i);
|
||||
commentif(VERBOSE, "%i end commit", i);
|
||||
(void) (ap[i]->limit != 0 || mps_ap_trip(ap[i], p[i], s[i]));
|
||||
}
|
||||
mps_ap_destroy(ap[i]);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ TEST_HEADER
|
|||
summary = new MVFF allocation test
|
||||
language = c
|
||||
link = testlib.o
|
||||
parameters = QUEUES=100 ITERATIONS=10000
|
||||
parameters = QUEUES=100 ITERATIONS=1000
|
||||
END_HEADER
|
||||
*/
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ static void dt(int kind,
|
|||
die(
|
||||
mps_pool_create(&pool, arena, mps_class_mvff(),
|
||||
extendBy, avgSize, align, slotHigh, arenaHigh, firstFit),
|
||||
"create EPDR pool");
|
||||
"create MVFF pool");
|
||||
|
||||
for(hd=0; hd<number; hd++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ TEST_HEADER
|
|||
summary = test of ramp allocation
|
||||
language = c
|
||||
link = testlib.o rankfmt.o
|
||||
parameters = ITERATIONS=100000
|
||||
parameters = ITERATIONS=10000
|
||||
OUTPUT_SPEC
|
||||
result = pass
|
||||
END_HEADER
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ TEST_HEADER
|
|||
summary = allocate in 2 arenas
|
||||
language = c
|
||||
link = testlib.o rankfmt.o
|
||||
parameters = ITERATIONS=100000
|
||||
parameters = ITERATIONS=10000
|
||||
OUTPUT_SPEC
|
||||
result = pass
|
||||
END_HEADER
|
||||
|
|
@ -21,8 +21,8 @@ END_HEADER
|
|||
|
||||
#define ARENALIMIT (100)
|
||||
|
||||
#define TABSIZE (ITERATIONS * 5 / 10)
|
||||
#define ENTERRAMP (ITERATIONS * 3 / 100)
|
||||
#define TABSIZE (ITERATIONS / 2)
|
||||
#define ENTERRAMP (ITERATIONS / 10)
|
||||
#define LEAVERAMP (ITERATIONS / 10)
|
||||
|
||||
#define BACKSIZE (32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue