ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* context vs texinfo
@ 2010-07-08  6:54 Shiv Shankar Dayal
  2010-07-08  7:29 ` luigi scarso
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Shiv Shankar Dayal @ 2010-07-08  6:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,

I was using context and I had to wait for 16 seconds for one run
approximately. I switched to texinfo and it barely takes 2 seconds.

Can you please explain the diffrence? I know context is complex but still?

-- 
Best regards,
Shiv Shankar Dayal

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

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: context vs texinfo
  2010-07-08  6:54 context vs texinfo Shiv Shankar Dayal
@ 2010-07-08  7:29 ` luigi scarso
  2010-07-08  7:32 ` Taco Hoekwater
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: luigi scarso @ 2010-07-08  7:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Jul 8, 2010 at 8:54 AM, Shiv Shankar Dayal
<shivshankar.dayal@gmail.com> wrote:
> Hi,
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> Can you please explain the diffrence? I know context is complex but still?
Do you have an example ?

-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: context vs texinfo
  2010-07-08  6:54 context vs texinfo Shiv Shankar Dayal
  2010-07-08  7:29 ` luigi scarso
@ 2010-07-08  7:32 ` Taco Hoekwater
  2010-07-08 10:25   ` Hans Hagen
  2010-07-08  7:41 ` R. Bastian
  2010-07-08  7:52 ` luigi scarso
  3 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2010-07-08  7:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi,

Shiv Shankar Dayal wrote:
> Hi,
> 
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.

A whole 2 seconds? That's ridiculously slow! I just tried to print a
document with  'cat | lpr' and it took much less than a tenth of a
second! :)

> Can you please explain the diffrence? I know context is complex but still?

Seriously: you gave the first half of the answer yourself. The second
half is that texinfo is very simple. Yes, context is quite a bit slower
thanks to extra complexity.

I am not going to list all of the things context can do that texinfo
cannot as that would take the better part of an hour, but there
are a few other reasons as well:

* context usually needs three runs the very first time you process
a document (but typically only one or two runs after that) and it
does these consecutive runs automatically. It keeps running tex
until there are no more runs needed, and this sometimes (well,
often, to be honest) means that it does one run too many. But one
run too much is still a lot better than a wrong link.

* context typically is set up to use much larger values for the
internal memory arrays, and this results in a slower runtime. You
can actually speed up context by reducing its memory footprint
to just what is needed for your own typical document types
(dont forget to regenerate the formats).

Best wishes,
Taco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: context vs texinfo
  2010-07-08  6:54 context vs texinfo Shiv Shankar Dayal
  2010-07-08  7:29 ` luigi scarso
  2010-07-08  7:32 ` Taco Hoekwater
@ 2010-07-08  7:41 ` R. Bastian
  2010-07-08  7:52 ` luigi scarso
  3 siblings, 0 replies; 6+ messages in thread
From: R. Bastian @ 2010-07-08  7:41 UTC (permalink / raw)
  To: ntg-context

On Thu, 8 Jul 2010 02:54:40 -0400
Shiv Shankar Dayal <shivshankar.dayal@gmail.com> scribit:

> Hi,
> 
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> 
> Can you please explain the diffrence? I know context is complex but still?
> 
> -- 
> Best regards,
> Shiv Shankar Dayal

WORKING WITH lINUX:

May be your context-path is bad.

Open a console.
Try to find the file "setuptex"
Then "source THE_PATH_FOUND/setuptex"

The tip is somewhere in the contextgarden.


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: context vs texinfo
  2010-07-08  6:54 context vs texinfo Shiv Shankar Dayal
                   ` (2 preceding siblings ...)
  2010-07-08  7:41 ` R. Bastian
@ 2010-07-08  7:52 ` luigi scarso
  3 siblings, 0 replies; 6+ messages in thread
From: luigi scarso @ 2010-07-08  7:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Jul 8, 2010 at 8:54 AM, Shiv Shankar Dayal
<shivshankar.dayal@gmail.com> wrote:
> Hi,
> I was using context and I had to wait for 16 seconds for one run
> approximately. I switched to texinfo and it barely takes 2 seconds.
> Can you please explain the diffrence? I know context is complex but still?
>
> --
> Best regards,
> Shiv Shankar Dayal
texinfo is not able to do this
http://www.pragma-ade.com/general/manuals/columns.pdf
while context can easily mimic texinfo, at least for pdf ouput.
Anyway, without an example it's like compare apples with oranges.


-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: context vs texinfo
  2010-07-08  7:32 ` Taco Hoekwater
@ 2010-07-08 10:25   ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-07-08 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

On 8-7-2010 9:32, Taco Hoekwater wrote:
>
> Hi,
>
> Shiv Shankar Dayal wrote:
>> Hi,
>>
>> I was using context and I had to wait for 16 seconds for one run
>> approximately. I switched to texinfo and it barely takes 2 seconds.
>
> A whole 2 seconds? That's ridiculously slow! I just tried to print a
> document with  'cat | lpr' and it took much less than a tenth of a
> second! :)
>
>> Can you please explain the diffrence? I know context is complex but still?
>
> Seriously: you gave the first half of the answer yourself. The second
> half is that texinfo is very simple. Yes, context is quite a bit slower
> thanks to extra complexity.
>
> I am not going to list all of the things context can do that texinfo
> cannot as that would take the better part of an hour, but there
> are a few other reasons as well:
>
> * context usually needs three runs the very first time you process
> a document (but typically only one or two runs after that) and it
> does these consecutive runs automatically. It keeps running tex
> until there are no more runs needed, and this sometimes (well,
> often, to be honest) means that it does one run too many. But one
> run too much is still a lot better than a wrong link.
>
> * context typically is set up to use much larger values for the
> internal memory arrays, and this results in a slower runtime. You
> can actually speed up context by reducing its memory footprint
> to just what is needed for your own typical document types
> (dont forget to regenerate the formats).

but 16 sec for a simple doc is still too  much given that the cache etc 
are set up; the 2 sec texinfo is an indication that the whol setup is 
suboptimal (network?)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-07-08 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08  6:54 context vs texinfo Shiv Shankar Dayal
2010-07-08  7:29 ` luigi scarso
2010-07-08  7:32 ` Taco Hoekwater
2010-07-08 10:25   ` Hans Hagen
2010-07-08  7:41 ` R. Bastian
2010-07-08  7:52 ` luigi scarso

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