We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32381af commit efd6123Copy full SHA for efd6123
darshan-util/pydarshan/benchmarks/benchmarks/cffi_backend.py
@@ -1,3 +1,4 @@
1
+import darshan
2
from darshan.backend import cffi_backend
3
from darshan.log_utils import get_log_path
4
@@ -27,7 +28,15 @@ def peakmem_log_get_record(self, module):
27
28
29
30
def peakmem_log_get_mounts(self, module):
- for i in range(100000):
31
+ for i in range(10000):
32
log = cffi_backend.log_open(self.ior_log_path)
33
rec = cffi_backend.log_get_mounts(log)
34
cffi_backend.log_close(log)
35
+
36
37
+ def peakmem_log_get_name_recs(self, module):
38
39
+ with darshan.DarshanReport(self.ior_log_path,
40
+ read_all=True,
41
+ lookup_name_records=True) as report:
42
+ pass
0 commit comments