mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
af05af7125
Summary: @public * Change the JSON generation and remove the dependency on YAJL since it had a 128 depth limit * Enable the profiler bytecode generation to fix missing frames * Save the output to a file on the tmp dir instead of outputting it to the console Reviewed By: @jspahrsummers Differential Revision: D2420754
14 lines
302 B
Objective-C
14 lines
302 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#import "JSContextRef.h"
|
|
|
|
extern "C" {
|
|
|
|
void nativeProfilerEnableBytecode(void);
|
|
void nativeProfilerStart(JSContextRef ctx, const char *title);
|
|
void nativeProfilerEnd(JSContextRef ctx, const char *title, const char *filename);
|
|
|
|
}
|