Giter Club home page Giter Club logo

rn-storage-benchmark-test's Introduction

React Native에서 많이 사용되는 Storage 라이브러리간 비교

  1. AsyncStorage
  2. OP-SQLite
  3. WatermelonDB
  4. MMKV

비교 시나리오와 결과

각 스토리지 라이브러리에서 조회를 1000번 반복한 후에 시간을 측정

1번 시나리오

  • 초기화 후, key: 'k', value: 'hello' 저장
  • value 가져오기
안드로이드 iOS

성능: mmkv> watermelonDB> op-sqlite> asyncStorage

2번 시나리오

  • 초기화 후 key:'k', value: 길이가 100000개인 배열 저장
  • value 가져오기
안드로이드 iOS

성능: watermelonDB> mmkv> op-sqlite> asyncStorage

정리

모든 케이스에서 mmkv가 가장 좋다

rn-storage-benchmark-test's People

Contributors

choi2021 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.