본문 바로가기

woonizzooni

검색하기
woonizzooni
프로필사진 woonizzooni

  • 분류 전체보기 (120)
    • MISC (33)
    • Spring (4)
    • Flutter (4)
    • Android (3)
    • Kubernetes (12)
    • Docker (10)
    • AWS (6)
    • Ansible (0)
    • Network (2)
    • Windows Sysinternals (7)
    • AR (1)
    • Linux (3)
    • FFmpeg (7)
    • Algorithm (1)
    • Programming (21)
      • Python (9)
      • Java (5)
      • Go (2)
      • Common (1)
      • C (0)
      • Shell-script (3)
      • Dart (1)
    • Standard (5)
      • HTTP3(QUIC) (1)
      • HTTP2 (1)
      • HTTP1.1 (1)
      • TCP (1)
      • DNS (0)
      • HLS (1)
Guestbook
Notice
  • DISQUS 댓글 연동 중지 / Delete ⋯
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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 cli
  • ebpf
  • aws
  • docker
  • wireshark
  • Java
  • dart
  • spring cloud config
  • Flutter
  • Pod
  • Android
  • Windows10
  • configmap
  • deployment
  • Python
  • kubectl
  • VSCode
  • Shell script
  • RTMP
  • nginx-media-server
  • namespace
  • Sysinternals
  • Kubernetes
  • HLS
  • service
  • macos
  • ffmpeg
  • golang
  • android studio
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록timeit (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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바