ashish-chopra / Doodle

A no sense way of visualizing "something" of a data structure.
MIT License
2 stars 0 forks source link

Curious about Profiler.java #1

Open gansai opened 9 years ago

gansai commented 9 years ago

Hi,

I just cloned this repo and was walking through the code. What is the use of Profiler class? I was searching for used references. Could you please clarify?

Thanks.

ashish-chopra commented 9 years ago

Yeah,

You know, when we run data structures, we tend to calculate its running time using our learnt methods mathematically. Another way to get the same is by using JVM's help to read system memory and time lapsed while completion of some operation.

But my thought behind this project "Doodle" is to bring a library just like "loggings" etc, which expose you certain API that you can use inside your source code to record what is happening in each pass of a loop etc.

By profiler i want to collect the profile information of the operation being called in a data structure. This is not final structure that i want. I would really like, if you can suggest me something that can be done to it to acheive what i wanted to do!!