fani-lab / SEERa

A framework to predict the future user communities in a text streaming social network based on the users’ topics of interest.
Other
4 stars 5 forks source link

Added line-profiler #57

Closed Lillliant closed 1 year ago

Lillliant commented 1 year ago

From what I've read, line_profiler adds a bit of overhead to the execution process. As such, I added a flag to the command line arguments so that time is only profiled when users input as such.

So far, line_profiler can only profile the specified function if it's within the file that the profiler is in. I'm currently looking through documentations for ways that might be able to bypass this limitation.

hosseinfani commented 1 year ago

@Lillliant thank you, Christine. @soroush-ziaeinejad Please merge and review the code. You can use it to find the bottlenecks in the pipeline. Thanks.