Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/d/i/DiabloHorn-HEAD/firewall-dns/libs/dpkt-1.7/tests/test-perf.py   DiabloHorn(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'
 

src/f/l/flow-inspector-HEAD/app/vendor/dpkt-1.7/tests/test-perf.py   flow-inspector(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'
 

src/p/i/ping_sweep-1.0.1/ping_sweep/dpkt/tests/test-perf.py   ping_sweep(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'
 

src/p/i/Ping_Sweep-HEAD/ping_sweep/dpkt/tests/test-perf.py   Ping_Sweep(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'
 

src/s/e/segvault-HEAD/pycapreplay/dpkt/tests/test-perf.py   segvault(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'
 

src/d/p/dpkt-HEAD/tests/test-perf.py   dpkt(Download)
    start = time.time()
    for i in xrange(cnt):
        packet.Packet(packet.IP, s)
    print 'openbsd.packet:', cnt / (time.time() - start), 'pps'