pull/15175/head
murgatroid99 7 years ago
parent 215b6555c1
commit 5f3aa5ca0b
  1. 2
      tools/run_tests/performance/run_worker_node.sh
  2. 4
      tools/run_tests/performance/scenario_config.py

@ -27,4 +27,4 @@ cd "$(dirname "$0")/../../.."
# Enter the grpc-node repo root (expected to be next to grpc repo root) # Enter the grpc-node repo root (expected to be next to grpc repo root)
cd ../grpc-node cd ../grpc-node
node -r test/fixtures/$fixture.js tools/run_tests/performance/worker.js $@ node -r "test/fixtures/$fixture.js" tools/run_tests/performance/worker.js "$@"

@ -1150,6 +1150,7 @@ class GoLanguage:
def __str__(self): def __str__(self):
return 'go' return 'go'
class NodeLanguage: class NodeLanguage:
def __init__(self, node_purejs=False): def __init__(self, node_purejs=False):
@ -1163,7 +1164,7 @@ class NodeLanguage:
def worker_port_offset(self): def worker_port_offset(self):
if self.node_purejs: if self.node_purejs:
return 1100 return 1100
return 1000 return 1000
def scenarios(self): def scenarios(self):
@ -1246,6 +1247,7 @@ class NodeLanguage:
return 'node_purejs' return 'node_purejs'
return 'node' return 'node'
LANGUAGES = { LANGUAGES = {
'c++': CXXLanguage(), 'c++': CXXLanguage(),
'csharp': CSharpLanguage(), 'csharp': CSharpLanguage(),

Loading…
Cancel
Save