Skip to content

Commit

Permalink
Merge pull request #21 from dream-sports-labs/feat/0.76-stable-benchmark
Browse files Browse the repository at this point in the history
feat: upgraded and added benchmarking numbers for 0.76.0 stable
  • Loading branch information
shubhamguptadream11 authored Oct 24, 2024
2 parents 2c50a39 + b29e2e3 commit e3da018
Show file tree
Hide file tree
Showing 10 changed files with 2,383 additions and 1,192 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import com.facebook.react.ReactPackage
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
import com.facebook.react.defaults.DefaultReactNativeHost
import com.facebook.react.soloader.OpenSourceMergedSoMapping
import com.facebook.soloader.SoLoader

class MainApplication : Application(), ReactApplication {
Expand All @@ -34,7 +35,7 @@ class MainApplication : Application(), ReactApplication {

override fun onCreate() {
super.onCreate()
SoLoader.init(this, false)
SoLoader.init(this, OpenSourceMergedSoMapping)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
10 changes: 5 additions & 5 deletions Benchamrking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"benchmarking-package": "../BenchmarkingPackage",
"react": "18.3.1",
"react-native": "0.76.0-rc.0",
"react-native": "0.76.0",
"react-native-fs": "^2.20.0"
},
"devDependencies": {
Expand All @@ -25,10 +25,10 @@
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
"@react-native/babel-preset": "0.76.0-rc.0",
"@react-native/eslint-config": "0.76.0-rc.0",
"@react-native/metro-config": "0.76.0-rc.0",
"@react-native/typescript-config": "0.76.0-rc.0",
"@react-native/babel-preset": "0.76.0",
"@react-native/eslint-config": "0.76.0",
"@react-native/metro-config": "0.76.0",
"@react-native/typescript-config": "0.76.0",
"@types/node": "^20.11.25",
"@types/react": "^18.3.3",
"@types/react-test-renderer": "^18.0.0",
Expand Down
2,266 changes: 1,082 additions & 1,184 deletions Benchamrking/yarn.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions WebpageRevamped/src/Reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ export const Reports: ReportsType = {
"0.75.1/android/oldarch": require('./Reports/0.75.1/android/oldarch.json'),
"0.75.1/ios/newarch": require('./Reports/0.75.1/ios/newarch.json'),
"0.75.1/ios/oldarch": require('./Reports/0.75.1/ios/oldarch.json'),
"0.76.0/android/newarch": require('./Reports/0.76.0/android/newarch.json'),
"0.76.0/android/oldarch": require('./Reports/0.76.0/android/oldarch.json'),
"0.76.0/ios/oldarch": require('./Reports/0.76.0/ios/oldarch.json'),
"0.76.0/ios/newarch": require('./Reports/0.76.0/ios/newarch.json'),
"0.76.0-rc.0/android/newarch": require('./Reports/0.76.0-rc.0/android/newarch.json'),
"0.76.0-rc.0/android/oldarch": require('./Reports/0.76.0-rc.0/android/oldarch.json'),
"0.76.0-rc.0/ios/newarch": require('./Reports/0.76.0-rc.0/ios/newarch.json'),
Expand Down
318 changes: 318 additions & 0 deletions WebpageRevamped/src/Reports/0.76.0/android/newarch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
{
"data": {
"5000Image": [
{
"PAINT_START_TIME": 1729755928283,
"PAINT_END_TIME": 1729755931596
},
{
"PAINT_START_TIME": 1729756027933,
"PAINT_END_TIME": 1729756030840
},
{
"PAINT_START_TIME": 1729756126582,
"PAINT_END_TIME": 1729756129136
},
{
"PAINT_START_TIME": 1729756217482,
"PAINT_END_TIME": 1729756219875
},
{
"PAINT_START_TIME": 1729756303816,
"PAINT_END_TIME": 1729756306305
},
{
"PAINT_START_TIME": 1729756387333,
"PAINT_END_TIME": 1729756389646
},
{
"PAINT_START_TIME": 1729756475966,
"PAINT_END_TIME": 1729756478227
},
{
"PAINT_START_TIME": 1729756567491,
"PAINT_END_TIME": 1729756569832
},
{
"PAINT_START_TIME": 1729756656983,
"PAINT_END_TIME": 1729756659204
},
{
"PAINT_START_TIME": 1729756741966,
"PAINT_END_TIME": 1729756744187
}
],
"1500Text": [
{
"PAINT_START_TIME": 1729755860433,
"PAINT_END_TIME": 1729755862332
},
{
"PAINT_START_TIME": 1729755960216,
"PAINT_END_TIME": 1729755961522
},
{
"PAINT_START_TIME": 1729756057799,
"PAINT_END_TIME": 1729756058984
},
{
"PAINT_START_TIME": 1729756161932,
"PAINT_END_TIME": 1729756163030
},
{
"PAINT_START_TIME": 1729756248882,
"PAINT_END_TIME": 1729756249862
},
{
"PAINT_START_TIME": 1729756333367,
"PAINT_END_TIME": 1729756334306
},
{
"PAINT_START_TIME": 1729756415199,
"PAINT_END_TIME": 1729756416040
},
{
"PAINT_START_TIME": 1729756512066,
"PAINT_END_TIME": 1729756512981
},
{
"PAINT_START_TIME": 1729756596650,
"PAINT_END_TIME": 1729756597449
},
{
"PAINT_START_TIME": 1729756689482,
"PAINT_END_TIME": 1729756690222
}
],
"5000Text": [
{
"PAINT_START_TIME": 1729755902000,
"PAINT_END_TIME": 1729755906694
},
{
"PAINT_START_TIME": 1729756002932,
"PAINT_END_TIME": 1729756006689
},
{
"PAINT_START_TIME": 1729756104516,
"PAINT_END_TIME": 1729756107913
},
{
"PAINT_START_TIME": 1729756195966,
"PAINT_END_TIME": 1729756198959
},
{
"PAINT_START_TIME": 1729756282166,
"PAINT_END_TIME": 1729756284952
},
{
"PAINT_START_TIME": 1729756366433,
"PAINT_END_TIME": 1729756369105
},
{
"PAINT_START_TIME": 1729756454134,
"PAINT_END_TIME": 1729756456667
},
{
"PAINT_START_TIME": 1729756545682,
"PAINT_END_TIME": 1729756548249
},
{
"PAINT_START_TIME": 1729756634782,
"PAINT_END_TIME": 1729756637416
},
{
"PAINT_START_TIME": 1729756721516,
"PAINT_END_TIME": 1729756723853
}
],
"1500Image": [
{
"PAINT_START_TIME": 1729755869433,
"PAINT_END_TIME": 1729755871013
},
{
"PAINT_START_TIME": 1729755969966,
"PAINT_END_TIME": 1729755970929
},
{
"PAINT_START_TIME": 1729756065299,
"PAINT_END_TIME": 1729756066184
},
{
"PAINT_START_TIME": 1729756169866,
"PAINT_END_TIME": 1729756170714
},
{
"PAINT_START_TIME": 1729756255800,
"PAINT_END_TIME": 1729756256686
},
{
"PAINT_START_TIME": 1729756339999,
"PAINT_END_TIME": 1729756340817
},
{
"PAINT_START_TIME": 1729756421816,
"PAINT_END_TIME": 1729756422610
},
{
"PAINT_START_TIME": 1729756518733,
"PAINT_END_TIME": 1729756519560
},
{
"PAINT_START_TIME": 1729756603082,
"PAINT_END_TIME": 1729756603871
},
{
"PAINT_START_TIME": 1729756695732,
"PAINT_END_TIME": 1729756696516
}
],
"5000View": [
{
"PAINT_START_TIME": 1729755878550,
"PAINT_END_TIME": 1729755880233
},
{
"PAINT_START_TIME": 1729755977133,
"PAINT_END_TIME": 1729755978658
},
{
"PAINT_START_TIME": 1729756072599,
"PAINT_END_TIME": 1729756073970
},
{
"PAINT_START_TIME": 1729756176766,
"PAINT_END_TIME": 1729756177968
},
{
"PAINT_START_TIME": 1729756262535,
"PAINT_END_TIME": 1729756263761
},
{
"PAINT_START_TIME": 1729756346683,
"PAINT_END_TIME": 1729756347838
},
{
"PAINT_START_TIME": 1729756428316,
"PAINT_END_TIME": 1729756429433
},
{
"PAINT_START_TIME": 1729756525616,
"PAINT_END_TIME": 1729756526681
},
{
"PAINT_START_TIME": 1729756609849,
"PAINT_END_TIME": 1729756610904
},
{
"PAINT_START_TIME": 1729756702149,
"PAINT_END_TIME": 1729756703181
}
],
"1500View": [
{
"PAINT_START_TIME": 1729755851766,
"PAINT_END_TIME": 1729755852458
},
{
"PAINT_START_TIME": 1729755953250,
"PAINT_END_TIME": 1729755953722
},
{
"PAINT_START_TIME": 1729756051067,
"PAINT_END_TIME": 1729756051498
},
{
"PAINT_START_TIME": 1729756155500,
"PAINT_END_TIME": 1729756155910
},
{
"PAINT_START_TIME": 1729756241982,
"PAINT_END_TIME": 1729756242365
},
{
"PAINT_START_TIME": 1729756327000,
"PAINT_END_TIME": 1729756327371
},
{
"PAINT_START_TIME": 1729756408882,
"PAINT_END_TIME": 1729756409233
},
{
"PAINT_START_TIME": 1729756505666,
"PAINT_END_TIME": 1729756506081
},
{
"PAINT_START_TIME": 1729756590382,
"PAINT_END_TIME": 1729756590718
},
{
"PAINT_START_TIME": 1729756683466,
"PAINT_END_TIME": 1729756683790
}
]
},
"means": {
"5000Image": 2.5013000000000005,
"1500Text": 1.0702,
"5000Text": 3.0370000000000004,
"1500Image": 0.9174,
"5000View": 1.2430999999999999,
"1500View": 0.4185
},
"labels": [
"5000Image",
"1500Text",
"5000Text",
"1500Image",
"5000View",
"1500View"
],
"dataForLabels": [
2.5013000000000005,
1.0702,
3.0370000000000004,
0.9174,
1.2430999999999999,
0.4185
],
"statisticalAnalysis": {
"5000Image": {
"mean_duration": 2501.3,
"std_deviation": 351.84278370380775,
"std_error": 111.26245747980063,
"error_rate": 4.448185242865735
},
"1500Text": {
"mean_duration": 1070.2,
"std_deviation": 340.1002466593898,
"std_error": 107.54914122287438,
"error_rate": 10.049443209014612
},
"5000Text": {
"mean_duration": 3037,
"std_deviation": 724.1190816740327,
"std_error": 228.98655952794357,
"error_rate": 7.539893300228632
},
"1500Image": {
"mean_duration": 917.4,
"std_deviation": 239.33528318611482,
"std_error": 75.68446193095235,
"error_rate": 8.249886846626591
},
"5000View": {
"mean_duration": 1243.1,
"std_deviation": 217.72737795488908,
"std_error": 68.8514423313783,
"error_rate": 5.538688949511568
},
"1500View": {
"mean_duration": 418.5,
"std_deviation": 106.30903588647162,
"std_error": 33.61786892578277,
"error_rate": 8.032943590390149
}
}
}
Loading

0 comments on commit e3da018

Please sign in to comment.