加回来了模拟周边车辆渲染的功能 200辆对地图进行压力测试
This commit is contained in:
@@ -212,7 +212,7 @@ ext {
|
||||
crashreport : "com.mogo.test:crashreport:${CRASHREPORT_VERSION}",
|
||||
crashreportbugly : "com.mogo.test:crashreport-bugly:${CRASHREPORT_BUGLY_VERSION}",
|
||||
crashreportnoop : "com.mogo.test:crashreport-noop:${CRASHREPORT_NOOP_VERSION}",
|
||||
crashreportupgrade : "com.mogo.test:crashreport-noop:${CRASHREPORT_UPGRADE_VERSION}",
|
||||
crashreportupgrade : "com.mogo.test:crashreport-upgrade:${CRASHREPORT_UPGRADE_VERSION}",
|
||||
|
||||
|
||||
skinsupportbase : "com.mogo.skin:skin-support-base:${SKIN_SUPPORT_VERSION}",
|
||||
|
||||
@@ -54,7 +54,7 @@ class LocParse {
|
||||
OutputStreamWriter locOsw = new OutputStreamWriter( new FileOutputStream( loc ) );
|
||||
BufferedWriter locWr = new BufferedWriter( locOsw );
|
||||
|
||||
final int adasRecAmount = 10;
|
||||
final int adasRecAmount = 200;
|
||||
final int intervalLineAmount = 50;
|
||||
|
||||
BufferedWriter writers[] = new BufferedWriter[adasRecAmount];
|
||||
|
||||
@@ -543,7 +543,7 @@ public class MockIntentHandler implements IntentHandler {
|
||||
.openVrMode(false);
|
||||
break;
|
||||
case 46:// 模拟鹰眼模式下绘制车辆周边的数据
|
||||
// mTimeTickHandler.sendEmptyMessageDelayed(1, 0L);
|
||||
mTimeTickHandler.sendEmptyMessageDelayed(1, 0L);
|
||||
break;
|
||||
case 48:// 模拟3D模型绘制
|
||||
MogoMarkerOptions options = new MogoMarkerOptions()
|
||||
@@ -902,8 +902,8 @@ public class MockIntentHandler implements IntentHandler {
|
||||
final long start = System.currentTimeMillis();
|
||||
|
||||
if (readers == null) {
|
||||
readers = new BufferedReader[10];
|
||||
for (int i = 0; i < 10; i++) {
|
||||
readers = new BufferedReader[200];
|
||||
for (int i = 0; i < 200; i++) {
|
||||
readers[i] = new BufferedReader(new InputStreamReader(AbsMogoApplication.getApp().getAssets().open("adas" + i + ".txt")));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,16 +33,11 @@ public class UpgradeReportProvider implements IProvider {
|
||||
public void init(Context context) {
|
||||
Logger.d(TAG, "init");
|
||||
String packageName = context.getPackageName();
|
||||
String processName = getProcessName(android.os.Process.myPid());
|
||||
|
||||
//设置Bugly 用户策略(UserStrategy)
|
||||
CrashReport.UserStrategy strategy = new CrashReport.UserStrategy(context);
|
||||
|
||||
strategy.setUploadProcess(processName == null || processName.equals(packageName));
|
||||
|
||||
CrashReport.putUserData(context, "serial", MoGoAiCloudClientConfig.getInstance().getSn());
|
||||
|
||||
Bugly.init(context, "f3f8b0b2f1", true, strategy);
|
||||
String processName = getProcessName( android.os.Process.myPid() );
|
||||
CrashReport.UserStrategy strategy = new CrashReport.UserStrategy( context );
|
||||
strategy.setUploadProcess( processName == null || processName.equals( packageName ) );
|
||||
CrashReport.initCrashReport( context, "f3f8b0b2f1", true, strategy );
|
||||
CrashReport.putUserData( context, "serial", MoGoAiCloudClientConfig.getInstance().getSn() );
|
||||
String mapSDKVersion = AppUtils.getCustomMapSDKVersion(context);
|
||||
CrashReport.putUserData( context, "MAP_SDK_VERSION",mapSDKVersion );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user