Skip to content

Commit

Permalink
Remove old context_times script + tuneup (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather authored Jan 10, 2024
1 parent bcaabff commit 8395f0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 78 deletions.
4 changes: 1 addition & 3 deletions tests/perf/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class BenchmarkBasicApi(RemoteGefUnitTestGeneric):
def benchmark(self, benchmark):
self.__benchmark = benchmark

@pytest.mark.benchmark
@pytest.mark.benchmark(warmup=True)
def test_cmd_context(self):
gdb = self._gdb
gdb.execute("start")
Expand All @@ -23,7 +23,6 @@ def test_gef_memory_maps(self):
gdb = self._gdb
gdb.execute("start")
gef = self._gef
assert self.__benchmark

def vmmap():
return gef.memory.maps
Expand All @@ -35,5 +34,4 @@ def test_elf_parsing(self):
root = self._conn.root
ElfCls = root.eval("Elf")
assert ElfCls
assert self.__benchmark
self.__benchmark(ElfCls, "/bin/ls")
75 changes: 0 additions & 75 deletions tests/perf/context_times.sh

This file was deleted.

0 comments on commit 8395f0b

Please sign in to comment.