Julia: stdlib: rename Profile to Profiler?

Created on 4 Jun 2018  Â·  5Comments  Â·  Source: JuliaLang/julia

The built-in profiler package is not named quite like other Julia packages and I often find myself doing using Profiler when I have to do using Profile. Should we rename it?

stdlib

Most helpful comment

I like the proposal. Would the macro still be called @profile? Or if the package is named Profiler, will folks want it to be @profiler foo(args...)?

Even though I like the noun for the "package" name, I kind of like the verb form for the action you want to take.

All 5 comments

I would like to work on this issue.What exactly do I have to do?

I 100% agree. I'm working on a big reorganization of the profiler on the sf/memprofiler branch so I'll just roll this into that.

Eh... I don't think we can do this rename before the infrastructure allows it.

I like the proposal. Would the macro still be called @profile? Or if the package is named Profiler, will folks want it to be @profiler foo(args...)?

Even though I like the noun for the "package" name, I kind of like the verb form for the action you want to take.

Even though I like the noun for the "package" name, I kind of like the verb form for the action you want to take.

Agreed.

Eh... I don't think we can do this rename before the infrastructure allows it.

What do you mean by this? You mean having depwarns for module bindings?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StefanKarpinski picture StefanKarpinski  Â·  3Comments

felixrehren picture felixrehren  Â·  3Comments

Keno picture Keno  Â·  3Comments

iamed2 picture iamed2  Â·  3Comments

wilburtownsend picture wilburtownsend  Â·  3Comments