Make JSON output from -Zprofile-json valid
This commit is contained in:
parent
6acbb5b65c
commit
2d2b7c01eb
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ macro_rules! define_categories {
|
|||
};
|
||||
|
||||
json.push_str(&format!(
|
||||
"{{ \"category\": {}, \"time_ms\": {},
|
||||
"{{ \"category\": \"{}\", \"time_ms\": {},\
|
||||
\"query_count\": {}, \"query_hits\": {} }},",
|
||||
stringify!($name),
|
||||
self.times.$name / 1_000_000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue