pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-io-event
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 9 09:03:20 UTC 2025
Modified Files:
pkgsrc/devel/ruby-io-event: Makefile PLIST distinfo
Log Message:
devel/ruby-io-event: update to 1.8.4
1.8.0 (2025-02-05)
Detecting fibers that are stalling the event loop.
A new (experimental) feature for detecting fiber stalls has been added.
This feature is disabled by default and can be enabled by setting the
IO_EVENT_SELECTOR_STALL_LOG_THRESHOLD to true or a floating point number
representing the threshold in seconds.
When enabled, the event loop will measure and profile user code when
resuming a fiber. If the fiber takes too long to return back to the event
loop, the event loop will log a warning message with a profile of the
fiber's execution.
> cat test.rb
#!/usr/bin/env ruby
require_relative "lib/async"
Async do
Fiber.blocking do
sleep 1
end
end
> IO_EVENT_SELECTOR_STALL_LOG_THRESHOLD=true bundle exec ./test.rb
Fiber stalled for 1.003 seconds
/home/samuel/Developer/socketry/async/test.rb:6 in '#<Class:Fiber>#blocking' (1s)
/home/samuel/Developer/socketry/async/test.rb:7 in 'Kernel#sleep' (1s)
There is a performance overhead to this feature, so it is recommended to
only enable it when debugging performance issues.
1.8.1 (2025-02-05)
* Fix macOS build issues.
* Initial rework of call tracking.
1.8.2 (2025-02-05)
* Rename event -> call.
* Fix profiling.
1.8.3 (2025-02-05)
* Output profile log as JSON if !istty.
1.8.4 (2025-02-05)
* Correctly calculate total duration in output formatting.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/ruby-io-event/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-io-event/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/ruby-io-event/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ruby-io-event/Makefile
diff -u pkgsrc/devel/ruby-io-event/Makefile:1.24 pkgsrc/devel/ruby-io-event/Makefile:1.25
--- pkgsrc/devel/ruby-io-event/Makefile:1.24 Sun Dec 15 13:26:05 2024
+++ pkgsrc/devel/ruby-io-event/Makefile Sun Feb 9 09:03:20 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2024/12/15 13:26:05 taca Exp $
+# $NetBSD: Makefile,v 1.25 2025/02/09 09:03:20 taca Exp $
-DISTNAME= io-event-1.7.5
+DISTNAME= io-event-1.8.4
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/ruby-io-event/PLIST
diff -u pkgsrc/devel/ruby-io-event/PLIST:1.4 pkgsrc/devel/ruby-io-event/PLIST:1.5
--- pkgsrc/devel/ruby-io-event/PLIST:1.4 Sun Dec 15 13:26:05 2024
+++ pkgsrc/devel/ruby-io-event/PLIST Sun Feb 9 09:03:20 2025
@@ -1,24 +1,28 @@
-@comment $NetBSD: PLIST,v 1.4 2024/12/15 13:26:05 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/02/09 09:03:20 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/IO_Event.${RUBY_DLEXT}
${GEM_EXTSDIR}/gem.build_complete
${GEM_LIBDIR}/design.md
${GEM_LIBDIR}/ext/extconf.rb
+${GEM_LIBDIR}/ext/io/event/array.h
${GEM_LIBDIR}/ext/io/event/event.c
${GEM_LIBDIR}/ext/io/event/event.h
${GEM_LIBDIR}/ext/io/event/interrupt.c
${GEM_LIBDIR}/ext/io/event/interrupt.h
-${GEM_LIBDIR}/ext/io/event/selector/array.h
+${GEM_LIBDIR}/ext/io/event/list.h
+${GEM_LIBDIR}/ext/io/event/profile.c
+${GEM_LIBDIR}/ext/io/event/profile.h
${GEM_LIBDIR}/ext/io/event/selector/epoll.c
${GEM_LIBDIR}/ext/io/event/selector/epoll.h
${GEM_LIBDIR}/ext/io/event/selector/kqueue.c
${GEM_LIBDIR}/ext/io/event/selector/kqueue.h
-${GEM_LIBDIR}/ext/io/event/selector/list.h
${GEM_LIBDIR}/ext/io/event/selector/pidfd.c
${GEM_LIBDIR}/ext/io/event/selector/selector.c
${GEM_LIBDIR}/ext/io/event/selector/selector.h
${GEM_LIBDIR}/ext/io/event/selector/uring.c
${GEM_LIBDIR}/ext/io/event/selector/uring.h
+${GEM_LIBDIR}/ext/io/event/time.c
+${GEM_LIBDIR}/ext/io/event/time.h
${GEM_LIBDIR}/lib/IO_Event.${RUBY_DLEXT}
${GEM_LIBDIR}/lib/io/event.rb
${GEM_LIBDIR}/lib/io/event/debug/selector.rb
Index: pkgsrc/devel/ruby-io-event/distinfo
diff -u pkgsrc/devel/ruby-io-event/distinfo:1.22 pkgsrc/devel/ruby-io-event/distinfo:1.23
--- pkgsrc/devel/ruby-io-event/distinfo:1.22 Sun Dec 15 13:26:05 2024
+++ pkgsrc/devel/ruby-io-event/distinfo Sun Feb 9 09:03:20 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2024/12/15 13:26:05 taca Exp $
+$NetBSD: distinfo,v 1.23 2025/02/09 09:03:20 taca Exp $
-BLAKE2s (io-event-1.7.5.gem) = 2c363c091b0ec9d03682006e2863106258912507caa09e321cccd3ba28dee7cd
-SHA512 (io-event-1.7.5.gem) = 93f17ff549555e83c7fec345403236f2c3ab532a3467928fcf6b3f7c8896cf1e47f7132177f053817a544826dd8c206dd7a0e7d0f93975347c8d1cd467a3d684
-Size (io-event-1.7.5.gem) = 44544 bytes
+BLAKE2s (io-event-1.8.4.gem) = bdd39a28f94d12094583017280ab2764e4ea7dd3566ce0211ebec8157b3e8030
+SHA512 (io-event-1.8.4.gem) = 0d3f55c59f910ba949109f4b84a3039c81c212a7889e916969cefd9169daa8959b7a66eee913f888de54f0e02aed70142e89baaa4aa32d8806975e1d86ce8f63
+Size (io-event-1.8.4.gem) = 44032 bytes
Home |
Main Index |
Thread Index |
Old Index