Browse thread
Q: Profiling ocaml using gprof
-
Raj Bandyopadhyay
-
Jake Donham
- Arthur Chan
- Vincent Hanquez
-
Jake Donham
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Arthur Chan <baguasquirrel@g...> |
| Subject: | Re: [Caml-list] Q: Profiling ocaml using gprof |
Is gprof better for profiling ocaml than ocaml's own profilers?
How would you go about figuring out that that particular function stub is
string concat?
On Mon, Jul 14, 2008 at 9:09 PM, Jake Donham <jake@donham.org> wrote:
> On Mon, Jul 14, 2008 at 6:52 PM, Raj Bandyopadhyay <rajb@rice.edu> wrote:
> > 'camlPervasives__$5e_136'.
>
> It's the string concatenation function (ASCII 5E is ^).
>
> It allocates a new string and blits the two argument strings into it,
> so you can probably do much better with explicit use of the Buffer
> module.
>
> Jake
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
--
-----------------------------------------------------------------------
(\__/)
(='.'=)This is Bunny. Copy and paste Bunny into your
(")_(")signature to help him gain world domination.
------------------------------------------------------------------------