<commit_before>from diesel import quickstart, Service, sleep
from diesel.protocols.zeromq import ZeroMQSocketHandler, zeromq_send
from diesel.util.event import Countdown
import time

cd = Countdown(5000)
t = None

def handle_message(identity, envelope, body):
    assert body == "yo dawg"
    cd.tick()

def wait():
    cd.wait()
    print 'Sent 5000 zeromq messages in', time.time() - t, 'seconds'

def send_message():
    global t
    sleep(0.3)

    print 'yeah?'
    zeromq_send("localhost", 5000, "yo dawg")
    t = time.time()
    for x in xrange(5000):
        zeromq_send("localhost", 5000, "yo dawg")<commit_msg>Remove debug print statement.<commit_after>from diesel import quickstart, Service, sleep
from diesel.protocols.zeromq import ZeroMQSocketHandler, zeromq_send
from diesel.util.event import Countdown
import time

cd = Countdown(5000)
t = None

def handle_message(identity, envelope, body):
    assert body == "yo dawg"
    cd.tick()

def wait():
    cd.wait()
    print 'Sent 5000 zeromq messages in', time.time() - t, 'seconds'

def send_message():
    global t
    sleep(0.3)

    zeromq_send("localhost", 5000, "yo dawg")
    t = time.time()
    for x in xrange(5000):
        zeromq_send("localhost", 5000, "yo dawg")
{'fraction_non_alphanumeric': 0.11774193548387096, 'fraction_numerical': 0.035483870967741936, 'mean_word_length': 3.7915057915057915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1251408', 'n_tokens_mistral': 465, 'n_tokens_neox': 414, 'n_words': 126}