public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* new citeproc performance notes
@ 2020-09-12 23:06 John MacFarlane
       [not found] ` <m2k0wyioij.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-09-12 23:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


I tried out the new citeproc-enabled pandoc (from citeproc
branch), comparing it against pandoc 2.10.1 + pandoc-citeproc.

My test project was a document with about 30,000 words,
using a 132K bibtex bibliography.

In addition to pandoc-citeproc, I used a lua filter to
count words.

For pandoc 2.10.1 + pandoc-citeproc, the build (to HTML)
took 2.22s.

With the new citeproc-enabled pandoc, it took 1.03s.
By comparison, without --citeproc (skipping citation processing)
it took 0.84s.  So, the overhead for citation processing is now
pretty minimal, and people should see a big speedup.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new citeproc performance notes
       [not found] ` <m2k0wyioij.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-09-12 23:29   ` Alan
       [not found]     ` <52149bdb-e476-4013-8d5b-72b0b0544877n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alan @ 2020-09-12 23:29 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1166 bytes --]

Great! Can we try it? Or it's not yet in public version?

On Sunday, September 13, 2020 at 1:06:30 AM UTC+2 John MacFarlane wrote:

>
> I tried out the new citeproc-enabled pandoc (from citeproc
> branch), comparing it against pandoc 2.10.1 + pandoc-citeproc.
>
> My test project was a document with about 30,000 words,
> using a 132K bibtex bibliography.
>
> In addition to pandoc-citeproc, I used a lua filter to
> count words.
>
> For pandoc 2.10.1 + pandoc-citeproc, the build (to HTML)
> took 2.22s.
>
> With the new citeproc-enabled pandoc, it took 1.03s.
> By comparison, without --citeproc (skipping citation processing)
> it took 0.84s. So, the overhead for citation processing is now
> pretty minimal, and people should see a big speedup.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/52149bdb-e476-4013-8d5b-72b0b0544877n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1732 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new citeproc performance notes
       [not found]     ` <52149bdb-e476-4013-8d5b-72b0b0544877n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-09-13  5:18       ` John MacFarlane
  0 siblings, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2020-09-13  5:18 UTC (permalink / raw)
  To: Alan, pandoc-discuss


At this point you'd have to compile the citeproc branch
from source.  (Not too hard, but you need Haskell.)

Alan <omvvardar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Great! Can we try it? Or it's not yet in public version?
>
> On Sunday, September 13, 2020 at 1:06:30 AM UTC+2 John MacFarlane wrote:
>
>>
>> I tried out the new citeproc-enabled pandoc (from citeproc
>> branch), comparing it against pandoc 2.10.1 + pandoc-citeproc.
>>
>> My test project was a document with about 30,000 words,
>> using a 132K bibtex bibliography.
>>
>> In addition to pandoc-citeproc, I used a lua filter to
>> count words.
>>
>> For pandoc 2.10.1 + pandoc-citeproc, the build (to HTML)
>> took 2.22s.
>>
>> With the new citeproc-enabled pandoc, it took 1.03s.
>> By comparison, without --citeproc (skipping citation processing)
>> it took 0.84s. So, the overhead for citation processing is now
>> pretty minimal, and people should see a big speedup.
>>
>>
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/52149bdb-e476-4013-8d5b-72b0b0544877n%40googlegroups.com.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-13  5:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 23:06 new citeproc performance notes John MacFarlane
     [not found] ` <m2k0wyioij.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-12 23:29   ` Alan
     [not found]     ` <52149bdb-e476-4013-8d5b-72b0b0544877n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-13  5:18       ` John MacFarlane

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).