mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
aee74efde7
Summary: Add JSC profiler to the dev menu and rename the pre-existent one to systrace. For now it just outputs to the console, but a better workflow is on the way.
13 lines
246 B
Objective-C
13 lines
246 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#import "JSContextRef.h"
|
|
|
|
extern "C" {
|
|
|
|
void nativeProfilerStart(JSContextRef ctx, const char *title);
|
|
const char *nativeProfilerEnd(JSContextRef ctx, const char *title);
|
|
|
|
}
|