[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1803: Avoid getrusage system calls in GC
From: |
Chicken Trac |
Subject: |
#1803: Avoid getrusage system calls in GC |
Date: |
Tue, 31 May 2022 11:16:34 -0000 |
#1803: Avoid getrusage system calls in GC
-----------------------------------------+----------------------------
Reporter: felix winkelmann | Type: defect
Status: new | Priority: major
Milestone: 5.4 | Component: core libraries
Version: 5.3.0 | Keywords:
Estimated difficulty: easy |
-----------------------------------------+----------------------------
To calculate GC time statistics, `C_cpu_milliseconds` is currently used,
which results in an getrusage(2) system call on many platforms. This
should be avoided, preferrably by using a faster alternative like
clock(3).
--
Ticket URL: <https://bugs.call-cc.org/ticket/1803>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- #1803: Avoid getrusage system calls in GC,
Chicken Trac <=