Port more bench to new infrzastructure

This commit is contained in:
Patrick Pelissier committed 2019-12-07 14:45:06 +01:00
1 parent 5cc2ac17d9
commit 00111e3e3c
14 files changed
+113 -137

No files matched your search

+5 -7
View File
@@ -87,15 +87,13 @@ test_dict_noalloc(size_t n)
/********************************************************************************************/
const config_func_t table[] = {
{ 40, "dict", 1000000, 0, test_dict, 0},
{ 45, "dict(noalloc)", 1000000, 0, test_dict_noalloc, 0}
};
int main(int argc, const char *argv[])
{
int n = (argc > 1) ? atoi(argv[1]) : 0;
if (n == 40)
test_function("Dict", 1000000, test_dict);
if (n == 45)
test_function("Dict(NoAlloc)", 1000000, test_dict_noalloc);
test("NEDTRIES", numberof(table), table, argc, argv);
exit(0);
}