1. 02 Nov, 2017 7 commits
    • Neil Schemenauer's avatar
      bpo-28643: Record profile-opt build progress with stamp files (#4223) · 4e38d71a
      Neil Schemenauer authored
      * bpo-28643: Record profile-opt build progress with stamp files
      
      The profile-opt makefile target is expensive to build. Since the
      makefile does not contain complete dependency information for this
      target, much extra work can get done if the build is interrupted and
      re-started.  Even running "make" a second time will result in a huge
      amount of redundant work.
      
      As a minimal fix (rather than removing recursive "make" and adding a
      proper dependency graph), split the profile-opt target into parts:
      
      - ensure tree is clean (profile-clean-stamp)
      - build with profile generation enabled (profile-gen-stamp)
      - run task to generate profile information (profile-run-stamp)
      - build optimized Python using above information (profile-opt)
      
      We use "stamp" files to record completion of the steps.  Running
      "make clean" will not remove the profile-run-stamp file.
      
      Other minor changes:
      
      - remove the "build_all_use_profile" target.  I don't expect callers
        of the makefile to use this target so that should be safe.
      
      - remove execution of "profile-removal" at end of "profile-opt".  I
        don't see any reason to not to keep the profile information, given
        the cost to generate it.  Removing the "profile-run-stamp" file
        will force re-generation of it.
      4e38d71a
    • Christian Heimes's avatar
      0d2c645d
    • Simon Willison's avatar
    • Victor Stinner's avatar
      bpo-31784: Implement PEP 564: add time.time_ns() (#3989) · c29b585f
      Victor Stinner authored
      Add new time functions:
      
      * time.clock_gettime_ns()
      * time.clock_settime_ns()
      * time.monotonic_ns()
      * time.perf_counter_ns()
      * time.process_time_ns()
      * time.time_ns()
      
      Add new _PyTime functions:
      
      * _PyTime_FromTimespec()
      * _PyTime_FromNanosecondsObject()
      * _PyTime_FromTimeval()
      
      Other changes:
      
      * Add also os.times() tests to test_os.
      * pytime_fromtimeval() and pytime_fromtimeval() now return
        _PyTime_MAX or _PyTime_MIN on overflow, rather than undefined
        behaviour
      * _PyTime_FromNanoseconds() parameter type changes from long long to
        _PyTime_t
      c29b585f
    • Vincent Michel's avatar
    • Victor Stinner's avatar
      bpo-31917: Add 3 new clock identifiers (#4207) · a64ce973
      Victor Stinner authored
      Add new clock identfiers:
      
      * time.CLOCK_BOOTTIME
      * time.CLOCK_PROF
      * time.CLOCK_UPTIME
      a64ce973
    • stratakis's avatar
  2. 01 Nov, 2017 7 commits
  3. 31 Oct, 2017 11 commits
  4. 30 Oct, 2017 2 commits
  5. 28 Oct, 2017 4 commits
  6. 27 Oct, 2017 9 commits