Giter VIP home page Giter VIP logo

Comments (2)

heistp avatar heistp commented on May 29, 2024

Thanks, we've got pretty similar hardware (also a 2.5 GHz Quad i7, late 2011), but running 10.11 in my case. Your numbers look a bit better.

tron:~/src/github.com/peteheist/irtt:% ./irtt sleep
Testing sleep accuracy...

Sleep Duration        Mean Error       % Error
           1ns             379ns       37995.4
          10ns             371ns        3711.1
         100ns             281ns         281.6
           1µs           9.496µs         949.7
          10µs          30.556µs         305.6
         100µs          55.549µs          55.5
           1ms         235.191µs          23.5
          10ms        1.548548ms          15.5
         100ms        3.210214ms           3.2
         200ms        3.707174ms           1.9
         500ms        3.952757ms           0.8

tron:~/src/github.com/peteheist/irtt:% uname -a
Darwin tron.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Oct  2 22:20:08 PDT 2017; root:xnu-3248.71.4~1/RELEASE_X86_64 x86_64

from irtt.

heistp avatar heistp commented on May 29, 2024

And Linux (different hardware, APU2, so could obviously change things also):

sysadmin@apu2a:~$ uname -a
Linux apu2a 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
sysadmin@apu2a:~$ irtt sleep
Testing sleep accuracy...

Sleep Duration        Mean Error       % Error
           1ns           4.179µs      417995.5
          10ns           4.182µs       41823.4
         100ns           4.195µs        4195.8
           1µs           6.724µs         672.4
          10µs          97.855µs         978.6
         100µs         113.121µs         113.1
           1ms         115.472µs          11.5
          10ms         136.324µs           1.4
         100ms          139.13µs           0.1
         200ms          140.16µs           0.1
         500ms         140.066µs           0.0

from irtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.