| Ticket UUID: | fdfbd5e10fefdb605abf34f65535054c323d9394 | ||
| Title: | Event, Notifier and Timer optimizations / implementation of TIPs #302, #434 | ||
| Type: | RFE | Created on: | 2017-07-10 12:17:30 |
| Submitter: | sebres | Assigned to: | nobody |
| Subsystem: | 02. Event Loops | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-09-14 11:31:12 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 8.5 / 8.6 | ||
| Description: | ||||
|
Implementation:- [sebres-8-6-event-perf-branch] - 8.6 based branch- [sebres-8-5-event-perf-branch] - 8.5 based branch First implemented (squashed rebased and cherry-picked) for 8.5-branch, because I made it basically for fork of this branch (it was just easy as direct for 8.6). Contains:
Summaries of the performance test-cases:See sebres/tcl#4 (comment) for the performance comparision. | ||||
| User Comments: | ||||
sebres added on 2017-07-13 16:10:14:
It looks like I had forgotten to back-port a small but important fix (sometimes causes busy wait in event-cycle). sebres added on 2017-11-07 12:38:40:
Just noticed that TIPs #434, #455 are also involved (#434 almost completely implemented here, #455 partially resp. affected by introducing of new options). Has someone already tested it? Reviews, objections, etc? oehhar added on 2021-09-03 12:06:51:
Sebres remarked today, that this TIP also solves TIP302 for Unix and Windows. That is really amazing stuff. Aparently, we at the TCL side have no Wizards who are even close to understand this. Thank you again, I appreciate, Harald chw added on 2021-09-03 12:31:16:
For the POSIX implementation, there's a lack of using CLOCK_MONOTONIC in the pthread_cond_*() functions, i.e. testing for availability and/or usability of pthread_condattr_setclock(). This is essential for really being immune against hiccups in CLOCK_REALTIME. oehhar added on 2026-09-14 11:31:12:
Sebres pinged again about this branches in [b7b707a310]. Due to the lack of Wizards on the TCL side we may only dream of this... Sorry, Harald | ||||
