Skip to content

Instantly share code, notes, and snippets.

View biozz's full-sized avatar

Ivan Elfimov biozz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am biozz on github.
  • I am biozz (https://keybase.io/biozz) on keybase.
  • I have a public key ASA0u5eXC8Guv5s1yRrzD-ID8cOPORgvwtaGgaI7x0EW3wo

To claim this, I am signing this object:

@biozz
biozz / test.py
Created March 10, 2020 19:19
Timing of reload before and after removal of get_socket_config
from pathlib import Path
import statistics
import time
import tornado
from circus.tests.test_reloadconfig import FakeSocket
from circus.arbiter import Arbiter
loop = tornado.ioloop.IOLoop.instance()
a = Arbiter.load_from_config(Path('test1.ini').absolute(), loop=loop)
a.evpub_socket = FakeSocket()