From: David Malcolm <dmalcolm@redhat.com>
To: gcc-patches@gcc.gnu.org
Cc: jit@gcc.gnu.org, Joseph Myers <joseph@codesourcery.com>
Subject: [PING] Re: [PATCH 0/2] Embed driver within libgccjit
Date: Fri, 21 Aug 2015 14:36:00 -0000 [thread overview]
Message-ID: <1440167068.18943.49.camel@surprise> (raw)
In-Reply-To: <1438872724-18658-1-git-send-email-dmalcolm@redhat.com>
On Thu, 2015-08-06 at 10:52 -0400, David Malcolm wrote:
Ping:
https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00355.html
In particular, I'm hoping for review of patch 1, which provides a way to
clean up state within the driver code (patch 2 uses this from libgccjit
to embed it in-process, rather that via pex, achieving a speedup and
enabling followup improvements).
> The attached two patches are an updated version of this patch
> sent in June:
> https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00123.html
> "[PATCH 02/16] gcc: Embed the driver in-process within libgccjit"
>
> (an updated version of [patch 01/16] from that kit is in trunk as of
> r226530; https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02713.html)
>
> They provide a modest speedup of jit.dg/test-benchmark.c and hence
> are useful in their own right:
>
> Median time taken for 100 in-process compiles (lower is better) over
> multiple runs, showing mean within each run:
>
> Control build of r226530, with pex-execution of driver binary:
> optlevel 0: 6.210s (0.062s per iteration)
> optlevel 1: 6.990s (0.070s per iteration)
> optlevel 2: 7.240s (0.072s per iteration)
> optlevel 3: 9.010s (0.090s per iteration)
>
> With these patches, embedding the driver:
> optlevel 0: 6.020s (0.060s per iteration)
> optlevel 1: 6.720s (0.067s per iteration)
> optlevel 2: 7.020s (0.070s per iteration)
> optlevel 3: 8.660s (0.087s per iteration)
>
> They are also a prerequisite for some of the much larger speedups
> proposed in the followup patches sent in June.
>
> I've split them out into the driver part (patch 1) and the jit-specific
> part (patch 2) for ease of review.
prev parent reply other threads:[~2015-08-21 14:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-06 14:45 David Malcolm
2015-08-06 14:46 ` [PATCH 2/2] jit: use an embedded copy of the driver David Malcolm
2015-08-06 14:46 ` [PATCH 1/2] driver: support state cleanup David Malcolm
2015-08-25 13:57 ` Joseph Myers
2015-08-25 20:31 ` David Malcolm
2015-08-25 21:26 ` Joseph Myers
2015-08-21 14:36 ` David Malcolm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440167068.18943.49.camel@surprise \
--to=dmalcolm@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jit@gcc.gnu.org \
--cc=joseph@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).