Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profile output in json #1046

Closed
areman opened this Issue Sep 30, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@areman
Copy link
Contributor

areman commented Sep 30, 2013

I tried to profile my jruby ruby application, as output i choose the json format but the result was invalid. The first lines look like

{
thread_profiles:[
{
thread_profiles:[
{
thread_profiles:[
{
thread_profiles:[
{
{
thread_profiles:[
{
"total_time":2.376408,
"total_time":2.385180,
"thread_name":"Smile Worker-4",
"thread_name":"Smile Worker-10",
"methods":[
"methods":[

My application use up ti 16 Threads. It looks to me like the profiling isn't thread save.

@atambo

This comment has been minimized.

Copy link
Member

atambo commented Oct 2, 2013

I think this was fixed here: #735

Could you try against jruby master?

@areman

This comment has been minimized.

Copy link
Contributor Author

areman commented Oct 2, 2013

Yes that's it.
Thank you !!

@areman areman closed this Oct 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.