Ticket #1623 (closed bug: fixed)
ghci: 20 wakeups per second
| Reported by: | igloo | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.1 |
| Component: | Runtime System | Version: | 6.6.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Easy (less than 1 hour) | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438371 :
According to powertop on my laptop, ghci seems to wake up 20 times per second looking for input when sitting at the command prompt. This has negative impact on battery life, as discussed on the powertop page.
I don't think the change in the HEAD to using timer_create rather than setitimer will have fixed this, but I can't currently run powertop so haven't been able to confirm that.
Change History
Note: See
TracTickets for help on using
tickets.
