일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- aws
- nginx-media-server
- wireshark
- kubectl
- namespace
- Flutter
- Java
- VSCode
- docker
- golang
- Pod
- android studio
- Shell script
- spring cloud config
- Android
- dart
- Windows10
- service
- ebpf
- configmap
- aws cli
- Sysinternals
- deployment
- Kubernetes
- macos
- RTMP
- Python
- 행정구역분류
- ffmpeg
- HLS
Archives
- Today
- Total
목록floating point (1)
woonizzooni
python 코드 실행 시간 측정
실행 시간 측정 timeit모듈 이용. https://docs.python.org/2/library/timeit.html https://docs.python.org/3/library/timeit.html ex) #!/usr/bin/python3 # -*- coding: utf-8 -*- import timeit def func_a(n): .... def func_b(n): .... def func_c(n): .... def func_d(n): .... print("func_a(4000) : ", timeit.timeit('func_a(4000)', "from __main__ import func_a", number=1)) print("func_b(4000) : ", timeit.timeit('func_b..
Programming/Python
2019. 7. 25. 07:47