Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[OSR] Exceptionless error management
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-01 (07:47)
From: Bünzli_Daniel <daniel.buenzli@e...>
Subject: Re: [Caml-list] [OSR] Exceptionless error management

Le 1 févr. 08 à 08:27, Michaël Grünewald a écrit :

> Bünzli Daniel <> writes:
>>> time jot 1000000 | ./in.native
>> real	0m4.814s
>> user	0m4.371s
>> sys	0m0.218s
> You are timing `jot' aren't you?

Not really, only half of the time. See at the end of this email.

> The recommendation you proposed would be even more useful if it
> emphasizes when ``Exceptionless error management'' is adequate.

Right. I'll try to do something along this line. I'll will highlight  
in the suggestions part (which is not part of the recommendation) that  
in Unix-like cases the recommendation should maybe not be followed.



 > jot 1000000 > lines.txt

 > time ./in.native < lines.txt

real	0m6.093s
user	0m2.132s
sys	0m0.219s

 > time ./inb.native < lines.txt

real	0m6.827s
user	0m2.117s
sys	0m0.218s