Skip to content

Profiling doesn't work at all on OS X #6275

Closed
@newhouseb

Description

@newhouseb

If I run the following from the documentation here: http://julia.readthedocs.org/en/latest/stdlib/profile/

julia> function myfunc()
           A = rand(100, 100, 200)
           max(A)
       end
myfunc (generic function with 1 method)

julia> myfunc()
WARNING: max(x) is deprecated, use maximum(x) instead.
0.9999994755239174

julia> @profile myfunc()
WARNING: max(x) is deprecated, use maximum(x) instead.
0.9999998409036248

julia> Profile.print()

julia>

This may be related to: #3469, as I never get any backtraces either.

I'm running Version 0.3.0-prerelease+2156 (2014-03-24 16:53 UTC), Commit c81664a* (2 days old master), x86_64-apple-darwin13.0.0. Installed through homebrew.

Happy to explore, debug, but I'm relatively new to Julia so would need some pointers on where to poke around.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behaviorsystem:macAffects only macOS

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions