public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: benchmarks, intel vs m1 (apple silicon)
Date: Thu, 10 Jun 2021 12:51:27 -0700	[thread overview]
Message-ID: <m28s3h5whs.fsf@MacBook-Pro-2.hsd1.ca.comcast.net> (raw)


I tried compiling pandoc on an M1 macbook air with ghc 8.10.5,
which now supports apple silicon via llvm.

I ran benchmarks on both that machine and an intel macbook pro
with 2.3 GHz 8-core i9.  Both machines have 16 GB memory.

Here are some representative comparisons:

epub3 writer: 10 ms on intel, 7.7 ms on m1
html5 writer: 1.8 ms on intel, 1.5 ms on m1
markdown writer: 4.6 ms on intel, 3.4 ms on m1
docx writer; 28 ms on intel, 23 ms on m1
latex reader: 17 ms on intel, 14 ms on m1
docx reader: 35 ms on intel, 28 ms on m1



             reply	other threads:[~2021-06-10 19:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 19:51 John MacFarlane [this message]
     [not found] ` <m28s3h5whs.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-06-10 20:50   ` Joseph Reagle

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=m28s3h5whs.fsf@MacBook-Pro-2.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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 NNTP newsgroup(s).