diff options
Diffstat (limited to '')
-rw-r--r-- | test/stress_test.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/test/stress_test.py b/test/stress_test.py index 233a0de..3e13a10 100644 --- a/test/stress_test.py +++ b/test/stress_test.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python3 + +# Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com> +# This file is part of the "math-server" project. +# For details, see https://github.com/egor-tensin/math-server. +# Distributed under the MIT License. + +'''This is a crappy script to feed the server with somewhat random arithmetic +expressions. +It's throwaway, hence the poor quality. +''' + import argparse import ast from contextlib import contextmanager @@ -9,10 +21,6 @@ from subprocess import PIPE import sys from timeit import default_timer -# This is a crappy script to feed the server with somewhat random arithmetic -# expressions. -# It's throwaway, hence the poor quality. - DEFAULT_CLIENT_PATH = 'client' DEFAULT_HOST = 'localhost' DEFAULT_PORT = 18000 |