Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e5987e5ee831647b768e01ccc1df2b4634be7d7f726ada5760e7ecc0929fb2d
Ticket: 1a6a36d901dedead248ea96df09d5dc159532652
Linux: epoll() cpu usage is high (in conjunction with after command)
User & Date: bll on 2017-09-14 04:01:53
Changes

  1. icomment:
    The following test program (pure Tcl):
    
    proc busyWait { } {
      after 200 ::busyWait
    }
    
    ::busyWait
    
    vwait ::forever
    
    With Tcl 8.6.7 uses very little cpu.
    real    0m8.134s
    user    0m0.006s
    sys     0m0.004s
    
    With Tcl 8.7 uses a lot of cpu.
    real    0m8.351s
    user    0m6.679s
    sys     0m1.670s
    
    (Updated the title of the ticket).
    
  2. login: "bll"
  3. mimetype: "text/plain"
  4. title changed to:
    Linux: epoll() cpu usage is high (in conjunction with after command)