NativeScript / NativeScript/android

inconsistency in native class extension duration

オープン
#1,650 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
563
フォーク
144
平均マージ
10時間 46分
マージ済み PR(30日)
14

説明

I am working on perfs and spending a lot of time on profiling timelines.
I see very weird inconsistencies in materializing and native class `extending.

This is 2 different app starts with the same exact code. Globally everything is the same except for those "yellow" times.
Here it is a factor 10 which is pretty big.

I add this mostly to start the discussion on what could be the reason for that and how we can make sure we get the smallest one.

  • could that be do to profiling?
  • @darind do you have an opinion on this?
  • here it is in debug, but i see the same kind in production. The difference might be smaller though i am not sure. Can debug/production make a difference for this?
Screenshot 2020-12-17 at 15 37 58

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイル、テスト、エントリポイントは指定されていません。まず、同一のコードを debug と production で使用してアプリを 2 回起動する状況を再現し、プロファイリングのタイムラインを比較しながら、プロファイリングまたはビルドモードが、マテリアライズとネイティブクラスの拡張における差異の原因になっているかを調査してください。原因と、それを測定または最小化するための合意済みの方法を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, cpp
領域
mobile-dev, performance
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。