Re: RPC performance

2017-06-22 Thread Ricardo Wurmus
Ludovic Courtès writes: > ludovic.cour...@inria.fr (Ludovic Courtès) skribis: > >> There are several ways we can improve it, and over time we should try to >> implement all of them: >> >> 1. Buffer writes to the server socket (currently it’s terrible if you >> look at the ‘write’ calls in

Re: (guix git) and guile-git finalizers.

2017-06-22 Thread Andy Wingo
Hi :) Just some code review. On Mon 19 Jun 2017 18:01, Mathieu Othacehe writes: > The idea here is to create a guardian per pointer-type to finalize. A > pumper function that operates on this guardian is also created. This > pumper function knows the git_libgit2_xxx function to call to free the

Re: RPC performance

2017-06-22 Thread Andy Wingo
On Mon 19 Jun 2017 10:15, ludovic.cour...@inria.fr (Ludovic Courtès) writes: > +(define (buffering-output-port port buffer) > + ;; Note: In Guile 2.2.2, custom binary output ports already have their own > + ;; 4K internal buffer. > + (define size > +(bytevector-length buffer)) > + > + (def

Re: RPC performance

2017-06-22 Thread Ludovic Courtès
Heya, Andy Wingo skribis: > On Mon 19 Jun 2017 10:15, ludovic.cour...@inria.fr (Ludovic Courtès) writes: > >> +(define (buffering-output-port port buffer) >> + ;; Note: In Guile 2.2.2, custom binary output ports already have their own >> + ;; 4K internal buffer. >> + (define size >> +(byt

core-updates on Hurd

2017-06-22 Thread rennes
Good day, currently the guix core-updates branch on GNU/Hurd, after start guix-daemon and issue the command './pre-inst-env guix build hello' fails with: -- guix build: error: lstat: No such file or directory: "/home/jin/guix/gnu/packages/zation.scm" -- At the moment I only see this erro