# Feature to show precompiled functions in current REPL session

**URL:** <https://discourse.julialang.org/t/feature-to-show-precompiled-functions-in-current-repl-session/46762>\
**Category:** Tooling\
**Created:** [September 17, 2020, 9:06am UTC](https://discourse.julialang.org/t/feature-to-show-precompiled-functions-in-current-repl-session/46762 "2020-09-17T09:06:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcastel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dcastel/32/10692_2.png) [@dcastel](https://discourse.julialang.org/u/dcastel)\
**Post date:** [September 17, 2020, 9:06am UTC](https://discourse.julialang.org/t/feature-to-show-precompiled-functions-in-current-repl-session/46762/1 "2020-09-17T09:06:07Z")

</div>

Hi all,

Does someone know whether there is a way to show what functions are already precompiled in the current REPL session?

I think such function could be useful to create

1. a REPL instance manager (htop for Julia)
2. in conjunction with [PackageCompiler](https://github.com/JuliaLang/PackageCompiler.jl)
3. Along the lines of other inspectability tools like `bitstring, @which, @edit` and the like.

If someone can show me a direction to look I might try my hand at implementing something similar. Is PackageCompiler.jl a good place to start looking?

kr,  
Dieter

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [September 17, 2020, 12:00pm UTC](https://discourse.julialang.org/t/feature-to-show-precompiled-functions-in-current-repl-session/46762/2 "2020-09-17T12:00:54Z")

</div>

This gets all the inferred instances:

```julia
using MethodAnalysis
methodinstances()

```

It’s a tiny bit more laborious (see the MethodAnalysis docs), but you can scan for CodeInstances if you want compiled code.
