Ticket UUID: | fdfbd5e10fefdb605abf34f65535054c323d9394 | |||
Title: | Event, Notifier and Timer optimizations / implementation of TIPs #302, #434 | |||
Type: | RFE | Version: | 8.5 / 8.6 | |
Submitter: | sebres | Created on: | 2017-07-10 12:17:30 | |
Subsystem: | 02. Event Loops | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2021-09-03 12:31:16 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
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: |
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 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 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? 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). |