Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old context_times script + tuneup #1042

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.