All Projects β†’ jondot β†’ React Native Slowlog

jondot / React Native Slowlog

A high-performance timer based profiler for React Native that helps you track big performance problems.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Slowlog

Repl
REPL rewrite for Node.js βœ¨πŸ’πŸš€βœ¨
Stars: ✭ 101 (-72.18%)
Mutual labels:  debugging, performance
Tpt Oracle
Tanel Poder's Troubleshooting & Performance Tools for Oracle Databases
Stars: ✭ 429 (+18.18%)
Mutual labels:  tools, performance
Perf Hoc
(Deprecated) Visualize and detect unnecessary rendering and performance issues in React.
Stars: ✭ 87 (-76.03%)
Mutual labels:  debugging, performance
Trace Nodejs
Trace is a visualised distributed tracing platform designed for microservices.
Stars: ✭ 471 (+29.75%)
Mutual labels:  debugging, performance
Bloom
🌸 HTTP REST API caching middleware, to be used between load balancers and REST API workers.
Stars: ✭ 553 (+52.34%)
Mutual labels:  infrastructure, performance
Youku Sdk Tool Woodpecker
In-app-debug tool for iOS
Stars: ✭ 600 (+65.29%)
Mutual labels:  tools, performance
Opencl Intercept Layer
Intercept Layer for Debugging and Analyzing OpenCL Applications
Stars: ✭ 189 (-47.93%)
Mutual labels:  debugging, performance
Wipe Modules
πŸ—‘οΈ Easily remove the node_modules folder of non-active projects
Stars: ✭ 304 (-16.25%)
Mutual labels:  tools, performance
Androidperformancetools
Android Performance Tools!
Stars: ✭ 159 (-56.2%)
Mutual labels:  tools, performance
Utils
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
Stars: ✭ 49 (-86.5%)
Mutual labels:  tools, debugging
redis-inventory
CLI tool to see redis memory usage by keys in hierarchical way. Think of disk inventory but for redis.
Stars: ✭ 163 (-55.1%)
Mutual labels:  infrastructure, tools
Doraemonkit
δΈ€ζ¬Ύι’ε‘ζ³›ε‰η«―δΊ§ε“η ”ε‘ε…¨η”Ÿε‘½ε‘¨ζœŸηš„ζ•ˆηŽ‡εΉ³ε°γ€‚
Stars: ✭ 18,305 (+4942.7%)
Mutual labels:  tools, performance
Rails performance
Monitor performance of you Rails applications
Stars: ✭ 345 (-4.96%)
Mutual labels:  performance
Gef
GEF (GDB Enhanced Features) - a modern experience for GDB with advanced debugging features for exploit developers & reverse engineers ☒
Stars: ✭ 4,197 (+1056.2%)
Mutual labels:  debugging
Deploy Node App
Deploy your node.js app to Kubernetes with a single command. No config required.
Stars: ✭ 349 (-3.86%)
Mutual labels:  tools
Velocypack
A fast and compact format for serialization and storage
Stars: ✭ 347 (-4.41%)
Mutual labels:  performance
Awesome Decentralized
πŸ•Ά Awesome list of distributed, decentralized, p2p apps and tools πŸ‘
Stars: ✭ 358 (-1.38%)
Mutual labels:  tools
Vim Delve
Neovim / Vim integration for Delve
Stars: ✭ 355 (-2.2%)
Mutual labels:  debugging
Hygen
The simple, fast, and scalable code generator that lives in your project.
Stars: ✭ 4,107 (+1031.4%)
Mutual labels:  tools
Recyclerlistview
High performance listview for React Native and web!
Stars: ✭ 4,033 (+1011.02%)
Mutual labels:  performance

Slowlog

A high-performance timer for React Native that helps you track big performance problems. Use it as a first line of defense, before tools like system trace and perftools.

Quickstart

In your React Native project run:

$ npm i -S react-native-slowlog

This is added as a runtime dependency, and slowlog will only run in developer mode (using the __DEV__ flag).

To use slowlog apply it to your component this way:

class Master extends Component {
  constructor(props){
    super(props)
    slowlog(this, /.*/)

    this.state = this.getDataSource(props)
    this.shouldComponentUpdate = shouldComponentUpdate.bind(this)
  }
...
}

Options

You can apply slowlog differently based on your needs:

slowlog([this], [regex matching methods], { verbose: false, threshold: 16, log: console, excludes: [dict of excluded methods] })
  • verbose - will output all timing information to console, and just slow operations to yellowbox
  • threshold - in milliseconds. Anything above that goes to yellowbox
  • log - a console-like object. Anything that responds to .log([msg]) and .warn([msg])
  • excludes - a dict containing an exclusion list, like so {foobar:true, constructor:true} and so on. If you change this, remember to always include constructor

Contributing

Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).

Copyright

Copyright (c) 2016 Dotan Nahum @jondot. See LICENSE for further details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].