def measure(host, port, dtrace, attendeeCount, samples):
    calendar = "unbounded-recurrence-autoaccept"
    organizerSequence = 1

    # An infinite stream of recurring VEVENTS to PUT to the server.
    events = ((i, makeEvent(i, organizerSequence, attendeeCount)) for i in count(2))

    return _measure(calendar, organizerSequence, events, host, port, dtrace, samples)
def measure(host, port, dtrace, attendeeCount, samples):
    calendar = "unbounded-recurrence-autoaccept"
    organizerSequence = 1

    # An infinite stream of recurring VEVENTS to PUT to the server.
    events = ((i, makeEvent(i, organizerSequence, attendeeCount))
              for i in count(2))

    return _measure(calendar, organizerSequence, events, host, port, dtrace,
                    samples)
Beispiel #3
0
def measure(host, port, dtrace, attendeeCount, samples):
    calendar = "event-autoaccept-creation-benchmark"
    organizerSequence = 1

    # An infinite stream of VEVENTs to PUT to the server.
    events = ((i, makeEvent(i, organizerSequence, attendeeCount))
              for i in count(2))

    return _measure(calendar, organizerSequence, events, host, port, dtrace,
                    samples)
def measure(host, port, dtrace, attendeeCount, samples):
    calendar = "event-autoaccept-creation-benchmark"
    organizerSequence = 1

    # An infinite stream of VEVENTs to PUT to the server.
    events = ((i, makeEvent(i, organizerSequence, attendeeCount)) for i in count(2))

    return _measure(
        calendar, organizerSequence, events,
        host, port, dtrace, samples)