[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/14: Log the time to call inferior-packages-plus-replacements
From: |
Christopher Baines |
Subject: |
02/14: Log the time to call inferior-packages-plus-replacements |
Date: |
Fri, 2 Feb 2024 10:58:38 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit 062ee1aed2024a8f88c3c2485b1a292f629e72e5
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Jan 27 18:40:01 2024 +0000
Log the time to call inferior-packages-plus-replacements
As I think this is currently quite slow.
---
guix-data-service/jobs/load-new-guix-revision.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm
b/guix-data-service/jobs/load-new-guix-revision.scm
index f6f6964..46f80ab 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -716,7 +716,8 @@
(define (ensure-gds-inferior-packages-defined! inf)
(unless (inferior-eval '(defined? 'gds-inferior-packages) inf)
- (inferior-packages-plus-replacements inf)))
+ (with-time-logging "ensuring gds-inferior-packages is defined in inferior"
+ (inferior-packages-plus-replacements inf))))
(define* (all-inferior-packages-data inf packages
pkg-to-replacement-hash-table)
(define inferior-package-id->packages-index-hash-table
- branch master updated (e0a6c84 -> ac1a4cb), Christopher Baines, 2024/02/02
- 01/14: Remove some time logging, Christopher Baines, 2024/02/02
- 04/14: Remove even more time logging, Christopher Baines, 2024/02/02
- 02/14: Log the time to call inferior-packages-plus-replacements,
Christopher Baines <=
- 05/14: Make sure to keep roots for channel instance derivations, Christopher Baines, 2024/02/02
- 07/14: Add more logging in when computing channel instance derivations, Christopher Baines, 2024/02/02
- 09/14: Split up handling of package description data, Christopher Baines, 2024/02/02
- 10/14: Fix exception handling in call-with-temporary-thread, Christopher Baines, 2024/02/02
- 12/14: Speed up loading package metadata, Christopher Baines, 2024/02/02
- 14/14: Cleanup some with-time-logging, Christopher Baines, 2024/02/02
- 06/14: Add some time logging in to inferior-packages-plus-replacements, Christopher Baines, 2024/02/02
- 11/14: Ignore inferior-protocol-error when computing channel instances, Christopher Baines, 2024/02/02
- 13/14: Compute lint warnings in parallel, Christopher Baines, 2024/02/02
- 08/14: Speed up fetching package replacements, Christopher Baines, 2024/02/02