Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Profile (Wolfram Workbench)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72848] Re: Profile (Wolfram Workbench)
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Mon, 22 Jan 2007 04:07:13 -0500 (EST)
  • References: <acbec1a40701210316i7833cdabx2a743beb45b7ed3a@mail.gmail.com>

Here is the output of the Profile command for one of my inputs.

http://test.chris.chiasson.name/Engineering_Optimization/profileTest.nb

If you want to see the relevant source code, type docBookTableGeneral
into the search box on this page to be taken to the relevant location
in the source:

http://code.google.com/p/mmade/source

A good approximation to the table in my test command would be...

Map[If[NumberQ@#,ToString@#,#]&,
  Prepend[Array[Random[Real,{-1,10}]&,{79,12}],
    Flatten@Module[{v,b,h},{"#",v,Table[b@i,{i,5}],Table[h@i,{i,5}]}]],{2}]

On 1/21/07, Chris Chiasson <chris at chiasson.name> wrote:
> Actually, I am not sure what it is doing.
>
> Here is the second command I profiled:
>
> MapIndexed[If[NumberQ[#1],ToString[#1],#1]&,Prepend[evals[standard[equalSegmentLength]][[2]],Flatten[{"#",V,var[baseHeight]}]],{2}]
>
> It converts the numbers in a large table to strings. I realize
> MapIndexed is unnecessary here.
>
> The evaluation table for this command only has one entry: "True"
>
> I was hoping for it to capture MapIndexed and the pure function.
>
> I lost the first command I profiled, but it produced zero entries in
> the profile table. Maybe that happened because it was too fast?
>
> Anyway, I'm lost. :[
>
> On 1/21/07, Chris Chiasson <chris at chiasson.name> wrote:
> > Is there a way to make the Profile command profile functions in the
> > System` context? I need to know what combination of functions is going
> > to work the fastest, but Profile leaves these functions out of its
> > summary.
> >
> > Also, the Profile command has no usage message...
> >
> > --
> > http://chris.chiasson.name/
> >
>
>
> --
> http://chris.chiasson.name/
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: MathKernel crashes
  • Next by Date: Re: Notation related question
  • Previous by thread: Re: Profile (Wolfram Workbench)
  • Next by thread: Re: Profile (Wolfram Workbench)