ryancw 2 rokov pred
rodič
commit
2fd2523a0c
2 zmenil súbory, kde vykonal 27 pridanie a 0 odobranie
  1. 13 0
      README.md
  2. 14 0
      SConscript

+ 13 - 0
README.md

@@ -1,4 +1,6 @@
 # RyanJson
+### *希望有兴趣的大佬多试试,找找bug、提提意见*
+
 ***一个针对资源受限的嵌入式设备优化的Json库,内存占用极小的通用Json库,简洁高效!***
 
 *初衷:项目进行重构json结构变复杂了很多,cJSON内存占用太高,已经满足不了需求。*
@@ -92,10 +94,18 @@ next (      \__item__/  \__next__/    \__next__/
 
 测试代码可在本项目根目录查看。
 
+#### 性能测试
+
+**请移步文末的 RyanDocs 文档中心查看,是基于 [yyjson_benchmark](https://github.com/ibireme/yyjson_benchmark) 的测试结果**
+
+
+
 #### 内存占用测试
 
 ![image-20230822200726742](docs/assert/README.assert/image-20230822200726742.png)
 
+
+
 #### RFC 8295 标准测试,大部分嵌入式场景不会出现复杂的特殊json结构
 
 ***RyanJson和cJSON都不适合处理复杂的UTF-16字符集,如果项目需要兼容Unicode字符集,可以考虑yyjson / json-c***
@@ -116,3 +126,6 @@ next (      \__item__/  \__next__/    \__next__/
 Email:1831931681@qq.com
 
 wx:17513216936
+
+
+

+ 14 - 0
SConscript

@@ -0,0 +1,14 @@
+import os
+from building import *
+
+# get current directory
+cwd = GetCurrentDir()
+
+# The set of source files associated with this SConscript file.
+src = Glob('RyanJson/*.c')
+path = [cwd + '/RyanJson']
+
+group = DefineGroup('RyanJson', src, depend=[
+                    "PKG_USING_RYANJSON"], CPPPATH=path)
+
+Return('group')