diff options
| author | chenzizhan <[email protected]> | 2023-10-08 12:22:59 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-10-08 12:22:59 +0800 |
| commit | b88f84e9d50240b26f10efe9823705b591698cc8 (patch) | |
| tree | 5fa89d0b6ef9cf7ebb590920750d0bf11efaea6e /test/test_performance.cpp | |
| parent | 437277576e283d64ff6160ce309ab17a56ceddaf (diff) | |
exporter does not bind instance
Diffstat (limited to 'test/test_performance.cpp')
| -rw-r--r-- | test/test_performance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_performance.cpp b/test/test_performance.cpp index fa93a8f..a5be5e8 100644 --- a/test/test_performance.cpp +++ b/test/test_performance.cpp @@ -293,10 +293,10 @@ TEST(test_performance, export_many_cells) } } - struct fieldstat_json_exporter *fieldstat_json_exporter = fieldstat_json_exporter_new(instance); + struct fieldstat_json_exporter *fieldstat_json_exporter = fieldstat_json_exporter_new(); // getchar(); clock_t start = clock(); - char *json_string = fieldstat_json_exporter_export(fieldstat_json_exporter, &TEST_TIMEVAL); + char *json_string = fieldstat_json_exporter_export(fieldstat_json_exporter, instance, &TEST_TIMEVAL); clock_t end = clock(); // exit(0); free(json_string); |
