-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
iOS_benchmark
MMKV is an efficient, small, easy-to-use mobile key-value storage framework used in the WeChat application. It's currently available on both Android, iOS/macOS, Windows and POSIX.
We test MMKV side-by-side with NSUserDefaults, repeating each operation 1w times. The result is in the chart below. The benchmark code can be found in iOS/MMKVDemo/MMKVDemo/
project.
As we can see, MMKV beats NSUserDefaults on writing values, while equals or outranges NSUserDefaults on reading values.
Running on iPhone 11 Pro Max 64G, iOS 13.3.1. Repeating each operation 1w times. Counting in milliseconds.
MMKV is published under the BSD 3-Clause license. For details check out the LICENSE.TXT.
Check out the CHANGELOG.md for details of change history.
If you are interested in contributing, check out the CONTRIBUTING.md, also join our Tencent OpenSource Plan.
To give clarity of what is expected of our members, MMKV has adopted the code of conduct defined by the Contributor Covenant, which is widely used. And we think it articulates our values well. For more, check out the Code of Conduct.
Check out the FAQ first. Should there be any questions, don't hesitate to create issues.
User privacy is taken very seriously: MMKV does not obtain, collect or upload any personal information. Please refer to the MMKV SDK Personal Information Protection Rules for details.
- In English
- 中文
- In English
- 中文
- In English
- 中文
-
In English
-
中文
-
Golang