Skip to content

Instantly share code, notes, and snippets.

@yamionp
yamionp / test.md
Last active March 1, 2024 11:05
test.md

$\color{red}\Huge{\textbf{lorem ipsum}}$

$\color{red}\Huge{\textbf{日本語}}$

import time
import os
DATA = 'aaaaaaaaaabbbbbbbbbbccccccccccdddddddddd'*100000
def main():
with open('/tmp/test.log', 'w') as f:
for i in xrange(1000):
start_at = time.time()
@yamionp
yamionp / locustfile.py
Last active March 21, 2024 22:56
Websocket Locust Sample. locustfile and Echo/Chat Server
# -*- coding:utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
import json
import uuid
import time
import gevent

aaaaaaaaaa

  1. aaa
  2. bbb
    • 222
    • 1111
  3. ccc

    jjjjjasfoaslkjsaglkasjfas;lkfj

int --------------------
(6250, 6250, 0.0)
(6250, 6250, 0.0)
md5 --------------------
(6459, 6103, 6364.5)
(6319, 6126, 3141.0)
0.240433931351
sha1 --------------------
(6364, 6054, 7377.125)
(6414, 6085, 7957.0)