We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61b2f0 commit e620c43Copy full SHA for e620c43
stdlib/Profile/test/runtests.jl
@@ -204,6 +204,20 @@ end
204
@test getline(values(fdictc)) == getline(values(fdict0)) + 2
205
end
206
207
+@testset "Module short names" begin
208
+ Profile.clear()
209
+ @profile peakflops()
210
+ io = IOBuffer()
211
+ Profile.print(io, 1000, C=true)
212
+ str = String(take!(io))
213
+ @test occursin("@Compiler/src", str)
214
+ @test occursin("@Base/src", str)
215
+ @test occursin("@InteractiveUtils/src", str)
216
+ @test occursin("@LinearAlgebra/src", str)
217
+ @test occursin("@juliasrc", str)
218
+ @test occursin("@julialib", str)
219
+end
220
+
221
# Profile deadlocking in compilation (debuginfo registration)
222
let cmd = Base.julia_cmd()
223
script = """
0 commit comments