Skip to content

Commit 2f86f36

Browse files
committed
servers.yml file updated to install 'linux perf' & 'zip' utilities - required or kv_engine profiling
fixed duplicate fucntion in profiler class Change-Id: I166cc62b05722b3010fa71399fefc8643054f74e Reviewed-on: http://review.couchbase.org/c/perfrunner/+/145768 Tested-by: <[email protected]> Reviewed-by: <[email protected]>
1 parent 75b3410 commit 2f86f36

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

perfrunner/helpers/profiler.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Profiler:
4242
DEBUG_PORTS = {
4343
'fts': 8094,
4444
'index': 9102,
45-
'goxdcr': 9998,
45+
'goxdcr': 9998,
4646
'kv': 9998, # will be deprecated in future
4747
'n1ql': 8093,
4848
}
@@ -135,11 +135,6 @@ def profile(self, host: str, service: str, profile: str):
135135
response = requests.get(url=url, auth=self.rest.auth)
136136
self.save(host, service, profile, response.content)
137137

138-
with self.new_tunnel(host, port) as tunnel:
139-
url = endpoint.format(tunnel.local_bind_port)
140-
response = requests.get(url=url, auth=self.rest.auth)
141-
self.save(host, service, profile, response.content)
142-
143138
def timer(self, **kwargs):
144139
timer = Timer(
145140
function=self.profile,

playbooks/servers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
- tree
2727
- vim
2828
- wget
29+
- perf
30+
- zip

0 commit comments

Comments
 (0)