npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-cli-plugin-benchmark

v0.3.0

Published

React Native CLI Plugin for Benchmark Regression

Downloads

4

Readme

npm version GitHub Actions CI

react-native-cli-plugin-benchmark

React Native CLI Plugin for Benchmark Regression

Installation

$ yarn add react-native-cli-plugin-benchmark

Supported Commands

react-native get-appsize-ios

Get the generated IPA size from run-ios output

$ react-native get-appsize-ios --configuration Release --sdk iphoneos 
info Found Xcode workspace "RNApp.xcworkspace"
info Building (using "xcodebuild -workspace RNApp.xcworkspace -configuration Release -scheme RNApp -sdk iphoneos CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO")
info Generated app size:
{"/Users/kudo/Library/Developer/Xcode/DerivedData/RNApp-auhfmjezpdwqwhasqmpbigmosgfe/Build/Products/Release-iphoneos/RNApp.app":37632}

react-native get-appsize-android

Get the generated APK size from run-android output

$ react-native get-appsize-android --variant release
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
info Building the app...
info Generated app size:
{"/Users/kudo/RNApp/android/app/build/outputs/apk/release/app-release.apk":19603464}

react-native measure-ios

Measure from run-ios output Note that the command in fact to patch AppDelegate to log some information after 5 seconds from launch. The information are from RCTPerformanceLogger and task memory.

$ react-native measure-ios --configuration Release --no-packager
info Found Xcode workspace "RNApp.xcworkspace"
info Launching iPhone X (iOS 12.4)
info Building (using "xcodebuild -workspace RNApp.xcworkspace -configuration Release -scheme RNApp -destination id=6FF18363-C213-4E59-9A83-3117EE7AE6FE")
▸ Compiling diy-fp.cc   
▸ Compiling bignum.cc     
▸ Compiling cached-powers.cc                                        
▸ Compiling double-conversion.cc
...
info Launching "org.reactjs.native.example.RNApp"
success Successfully launched the app on the simulator
info Measurement result:
{
    "duration.RCTPLScriptDownload": "2",
    "duration.RCTPLScriptExecution": "181",
    "duration.RCTPLRAMBundleLoad": "0",
    "duration.RCTPLRAMStartupCodeSize": "0",
    "duration.RCTPLRAMStartupNativeRequires": "0",
    "duration.RCTPLRAMStartupNativeRequiresCount": "0",
    "duration.RCTPLRAMNativeRequires": "0",
    "duration.RCTPLRAMNativeRequiresCount": "0",
    "duration.RCTPLNativeModuleInit": "2",
    "duration.RCTPLNativeModuleMainThread": "56",
    "duration.RCTPLNativeModulePrepareConfig": "0",
    "duration.RCTPLNativeModuleMainThreadUsesCount": "4",
    "duration.RCTPLNativeModuleSetup": "0",
    "duration.RCTPLTurboModuleSetup": "0",
    "duration.RCTPLJSCWrapperOpenLibrary": "0",
    "duration.RCTPLBridgeStartup": "284",
    "duration.RCTPLTTI": "474",
    "duration.RCTPLBundleSize": "652466",
    "memory": "55541760"
}