[erlang-questions] Tool for performace evaluation

Ahmed Omar spawn.think@REDACTED
Sun Jun 5 13:54:43 CEST 2011


.does your sorter:go involves creating a link? (using start_link,
spawn_link, ... etc)
if yes, I believe this might be a bug in percept, as it doesn't tag the
result messages and doesn't use a selective receive
as a workaround, try
spawn(percept, analyze, ["test.dat"]).
2011/6/5 Muhammad Yousaf <muhammad.yousaf@REDACTED>

>  Hi ,
>
> I am getting the follow error while running percept:profile
>
>
> (client@REDACTED)3>  percept:profile("test.dat", {sorter, go, [5, 2000,
> 15]}, [procs]).
> Starting profiling.
> ok
>
> (client@REDACTED)4>  percept:analyze("test.dat").
> Parsing: "test.dat"
> Consolidating...
> Parsed 443 entries in 0.015602 s.
> ** exception error: bad argument
>      in function  length/1
>         called as length({'EXIT',<0.56.0>,normal})
>      in call from percept:parse_and_insert_loop/5
>
>
> and i am running Erlang R14B any idea how can i fix it and make it run?
>
> Thanks
>
>
>
> Regards,
>
> Muhammad Yousaf
>
>
>
>
> ------------------------------
> From: wsongcn@REDACTED
> Date: Thu, 2 Jun 2011 21:27:19 +0800
> To: spawn.think@REDACTED
> CC: erlang-questions@REDACTED
> Subject: Re: [erlang-questions] Tool for performace evaluation
>
>
> Great. Thanks.
>
> 2011/6/2 Ahmed Omar <spawn.think@REDACTED>
>
> As a note, you can start etop in text mode
> etop:start([{output, text}]).
>
>
> 2011/6/2 Hynek Vychodil <hynek@REDACTED>
>
> Try use -X option to your ssh command. Don't forget that X11 protocol
> forwarding is also permitted in sshd configuration (X11Forwarding
> option in sshd_config).
>
> On Tue, May 31, 2011 at 8:32 AM, Andy W. Song <wsongcn@REDACTED> wrote:
> > I run Erlang on a remote machine through SSH. When I fire up etop it get:
> > 1> etop:start().
> > Application initialization failed: no display name and no $DISPLAY
> > environment variable
> > Error in startup script: no display name and no $DISPLAY environment
> > variable
> >     while executing
> > "load /usr/lib/libtk8.4.so.0 Tk"
> >     ("package ifneeded" script)
> >     invoked from within
> > "package require Tk 8.3"
> >     (file "/usr/lib/erlang/lib/gs-1.5.12/priv/gstk.tcl" line 7)
> > How can I use text mode?
> > Thanks
> > Andy
> > On Mon, May 23, 2011 at 8:26 PM, Gustav Simonsson
> > <gustav.simonsson@REDACTED> wrote:
> >>
> >> etop:start().
> >>
> >> gives information similar to 'top' in UNIX:
> >> http://www.erlang.org/doc/man/etop.html
> >>
> >> Regards,
> >> Gustav Simonsson
> >>
> >> ----- Original Message -----
> >> From: "Muhammad Yousaf" <muhammad.yousaf@REDACTED>
> >> To: erlang-questions@REDACTED
> >> Sent: Monday, May 23, 2011 1:00:32 PM GMT +01:00 Amsterdam / Berlin /
> Bern
> >> / Rome / Stockholm / Vienna
> >> Subject: [erlang-questions] Tool for performace evaluation
> >>
> >>
> >> Hi,
> >>
> >> Is there any tools to evaluate the performance of a module in Erlang
> that
> >> can show graphical interface for time elapse, memory usage, performance
> >> benchmarks etc ??
> >>
> >> or is there any alternative to do this in Erlang
> >>
> >> Thanks in advance
> >>
> >> Regards,
> >>
> >>
> >> Muhammad Yousaf
> >>
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
> >
> > --
> > ---------------------------------------------------------------
> > 有志者,事竟成,破釜沉舟,百二秦关终属楚
> > 苦心人,天不负,卧薪尝胆,三千越甲可吞吴
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
>
>
>
> --
> --Hynek (Pichi) Vychodil
>
> Analyze your data in minutes. Share your insights instantly. Thrill
> your boss.  Be a data hero!
> Try GoodData now for free: www.gooddata.com
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
>
> --
> Best Regards,
> - Ahmed Omar
> http://nl.linkedin.com/in/adiaa
> Follow me on twitter
> @spawn_think <http://twitter.com/#%21/spawn_think>
>
>
>
>
> --
> ---------------------------------------------------------------
> 有志者,事竟成,破釜沉舟,百二秦关终属楚
> 苦心人,天不负,卧薪尝胆,三千越甲可吞吴
>
>
> _______________________________________________ erlang-questions mailing
> list erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110605/9bb4d204/attachment.htm>


More information about the erlang-questions mailing list