• Dmitriy Vyukov's avatar
    runtime: integrated network poller for darwin · 0bee99ab
    Dmitriy Vyukov authored
    vs tip:
    benchmark                           old ns/op    new ns/op    delta
    BenchmarkTCP4Persistent                 67786        33175  -51.06%
    BenchmarkTCP4Persistent-2               49085        31227  -36.38%
    BenchmarkTCP4PersistentTimeout          69265        32565  -52.98%
    BenchmarkTCP4PersistentTimeout-2        49217        32588  -33.79%
    
    vs old scheduler:
    benchmark                           old ns/op    new ns/op    delta
    BenchmarkTCP4Persistent                 63517        33175  -47.77%
    BenchmarkTCP4Persistent-2               54760        31227  -42.97%
    BenchmarkTCP4PersistentTimeout          63234        32565  -48.50%
    BenchmarkTCP4PersistentTimeout-2        56956        32588  -42.78%
    
    R=golang-dev, bradfitz, devon.odell, mikioh.mikioh, iant, rsc
    CC=golang-dev, pabuhr
    https://golang.org/cl/7569043
    0bee99ab
netpoll_kqueue.c 2.23 KB