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 3f90bbaCopy full SHA for 3f90bba
stdlib/Profile/test/runtests.jl
@@ -204,6 +204,21 @@ 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
+ IOContext(io, :displaysize=>(1000,1000))
212
+ Profile.print(ioc, C=true)
213
+ str = String(take!(io))
214
+ @test occursin("@Compiler/src", str)
215
+ @test occursin("@Base/src", str)
216
+ @test occursin("@InteractiveUtils/src", str)
217
+ @test occursin("@LinearAlgebra/src", str)
218
+ @test occursin("@juliasrc", str)
219
+ @test occursin("@julialib", str)
220
+end
221
+
222
# Profile deadlocking in compilation (debuginfo registration)
223
let cmd = Base.julia_cmd()
224
script = """
0 commit comments