/* * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export const SpArkTsHtml = `
Long trace mode! If current data Trace is too large, it may not open!
Start Ark Ts Record
Process Record process
Select profiling type
Start cpu profiler
Interval(Available on recent OpenHarmony 4.0)
μs
Start memory profiler
Heap snapshot
Heap snapshot profiles show memory distribution among your page’s JavaScript objects and related DOM nodes.
Interval(Available on recent OpenHarmony 4.0)
S
Allocation insteumentation on timeline
Allocation timelines show insturmented Javascript memory allocations over time. Once profile is recorded you can select a time interval to see objects that werre allocated within it and still alive by the end of recording. Use this profile type to isolate memory leaks.
`;