in reply to Re: Needed Performance improvement in reading and fetching from a file
in thread Needed Performance improvement in reading and fetching from a file


i do have other blocks in the program , but not really sure to how to find performance, so i suspected this splitting operation.
infact . my requirement is little bit complex.
Based on second field fetched, i will do some comparisions which then might need all fields which i use for CSV conversion(to csv file) in later part. so its wise to get second field only initially (using Optimized split as said above) and then if needed i will further split down later.
i will try to see if other parts of program are really hitting peformance
  • Comment on Re^2: Needed Performance improvement in reading and fetching from a file

Replies are listed 'Best First'.
Re^3: Needed Performance improvement in reading and fetching from a file
by marto (Cardinal) on Oct 08, 2008 at 08:23 UTC
    "but not really sure to how to find performance"

    It sounds like you would benefit from benchmarking/profiling your code. See Debugging and Optimization from the tutorials section of this site, also worth looking at is the Devel::NYTProf module, which I mention here.

    Hope this helps

    Martin

      Thanks, i will go through the link, really helpfull, i know the issue now, but trying to find solution, have updated my question