From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.devel Subject: Re: `process-send-*` performance seems ... bad? Date: Wed, 19 Jun 2019 15:35:45 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000164375058bb25826" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238974"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 21:37:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdgP2-00101a-3P for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2019 21:37:52 +0200 Original-Received: from localhost ([::1]:41394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgP1-0004Wq-34 for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2019 15:37:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52712) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgNe-0003OE-KP for emacs-devel@gnu.org; Wed, 19 Jun 2019 15:36:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdgNd-0005HH-DP for emacs-devel@gnu.org; Wed, 19 Jun 2019 15:36:26 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:33302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdgNd-0005Fe-2s for emacs-devel@gnu.org; Wed, 19 Jun 2019 15:36:25 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id h10so387003ljg.0 for ; Wed, 19 Jun 2019 12:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EkX6iOIG4p3S8OTp3UCuTM89k9pC3wUBSgg9lUckJgo=; b=R+Qip1u40FHIP8DM6Pqy9aXXM01FpFzQuv+81uCxX3/NIkgDGLyU63d9qkj6ViPCSH BOeyY1uVIVDjGXOCgNEux921pGbkZWW06t8RInAdvUr8Tkm4vTVPLQ9Gl4Mlrk/xo62Q IfILxNVsD2C4kBx2BWH1LdM+V/esj0f3gmSUuM/F4j7wtCUV80FDYQrjuhvw8Jtaf5Z6 kdHeLDv0tw2dESj1HV3xoFHsYEjadtAsVwG8+pUcUYGVrnq/U3Ex9jtTRpWhoxlh6uLu gctgRKgKWVFY2Kis0PkFjhKOLT5IWZz4+PBwur3f/O+p84TfMr1XjtdtwPU8rJ0cS0FB npZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EkX6iOIG4p3S8OTp3UCuTM89k9pC3wUBSgg9lUckJgo=; b=CZTK+xb8vhKVFay3LdMen+A0EvArjhnTdfvLT0Z1K2CcSKq4GiOLckxbUnn/slT2kY BjOQVolXru/OzIwcGBqThSmPlt7XEstgyoEVIHTTO3aXUn3u7tBnVpzB0zkAjwFHoRVD ai+lvQDnRX8JVPztb8gpkL5bSMET3CaFHlvld1wSMSjEANOX/wxvYUbeD4FwyJKEvNwT E6wx0ZmmO6AuWA1uooOVMa8HZGf3T5H4bRnNFFuv/tQ/tHreh5fRI4aBNQU887QF2jHb JTZ29EoQnj8uFICIcmFtTicNgXFK6BLMRjZzT/Q2Q5ZQ/Zg9Yf51sI37vskb4slUwEis e8fA== X-Gm-Message-State: APjAAAVqp81Iuix4FDOSu8bXYR/fRJOH7jcTQeSVAQ4pdnCPRwiR1rSE EgmTttMsVu62mzjXozZ6pOM9tj8o/WudqwT3V9dDiQ== X-Google-Smtp-Source: APXvYqzuG3frDjvZA2P6hs2fjOgmgngS0zOhIF7srxTlR69tc2Vorp+Ui2zKRakAwNV5x7ZJsIWGwgPPTmSwmEQ5Z/g= X-Received: by 2002:a2e:8802:: with SMTP id x2mr56851322ljh.200.1560972981817; Wed, 19 Jun 2019 12:36:21 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237934 Archived-At: --000000000000164375058bb25826 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2019 at 2:15 PM Noam Postavsky wrote: > On Wed, 19 Jun 2019 at 14:03, Daniel Pittman > wrote: > > > > Ah, no, that is running locally =E2=80=93 the call to make-process is n= ot using > file handlers > > Oh right, make-process in master has support for file-handlers, but I > forgot that it's only if given an explicit :file-handlers t. > Absolutely legitimate thing to question, and I'm glad you did. It was good to eliminate it as a possible cause of problems in my testing. I'm working on the profiling that Eli requested, which is very reasonable, and on ensuring the test code is simpler and more hermetic. It'll take a bit of time to get that done, and early results suggest that it'll probably require getting out the C-level profiler to get useful information, so that'll be on the list. Please forgive delays in getting that through. --000000000000164375058bb25826 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jun 19, 2019 at 2:15 PM Noam Post= avsky <npostavs@gmail.com> = wrote:
On Wed, 19 Jun 2019 at 14:03, Daniel Pittman <slippycheeze@google.c= om> wrote:
>
> Ah, no, that is running locally =E2=80=93 the call to make-process is = not using file handlers

Oh right, make-process in master has support for file-handlers, but I
forgot that it's only if given an explicit :file-handlers t.

Absolutely legitimate thing to question, and I= 9;m glad you did.=C2=A0 It was good to eliminate it as a possible cause of = problems in my testing.

I'm working on the pro= filing that Eli requested, which is very reasonable, and on ensuring the te= st code is simpler and more hermetic.=C2=A0 =C2=A0It'll take a bit of t= ime to get that done, and early results suggest that it'll probably req= uire getting out the C-level profiler to get useful information, so that= 9;ll be on the list.

Please forgive delays in gett= ing that through.
--000000000000164375058bb25826--