Closed markcheney1 closed 1 year ago
连接器只提供接口简单封装,内置不实现并发机制,需要应用自己处理并发
Python 语言不以性能见长,这个结果不意外,你可以拿 go 和 python 跳过 taos 接口构造数据测试模拟一下语言层面的性能差异
连接器只提供接口简单封装,内置不实现并发机制,需要应用自己处理并发
Python 语言不以性能见长,这个结果不意外,你可以拿 go 和 python 跳过 taos 接口构造数据测试模拟一下语言层面的性能差异
尝试过了,在调用taos库获取的数据,速度是正常的,确实是cast花费了大量时间
try not use fetch_all_into_dict
, use fetch_all
instead
I`m working on this with my enh/cython branch
- involve connection, cursor, result, schemeless_insert, statement, consumer
- more pythonic, faster, using cython
- code work was almost done, hopefully som day, it might be merged into main branch
- but now, more test is needed
Sounds awesome. Can't wait to try it out
系统:
软件版本:
配置:
使用的代码:
运算时间:20.743690967559814 s
切换golang的连接器: 运行时间约为3s
问题: