# [Profiling](@id lib-profiling)

```@docs
Base.Profile.@profile
```

The methods in `Base.Profile` are not exported and need to be called e.g. as `Profile.print()`.

```@docs
Base.Profile.clear
Base.Profile.print
Base.Profile.init
Base.Profile.fetch
Base.Profile.retrieve
Base.Profile.callers
Base.Profile.clear_malloc_data
```
