Ai
1 Star 0 Fork 0

道意/GoLanguageExample

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test.py 139 Bytes
一键复制 编辑 原始数据 按行查看 历史
浩翔 提交于 2020-07-09 12:05 +08:00 . 比较三种语言的性能
import time
start = time.perf_counter()
total = 0
for i in range(1,10):
total = total + i
end = time.perf_counter()
print(end - start)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/daojava/GoLanguageExample.git
git@gitee.com:daojava/GoLanguageExample.git
daojava
GoLanguageExample
GoLanguageExample
master

搜索帮助