Configure ~/.ssh/config
# Allow Agent forwarding for a specific host (by security)
Host remotehost
ForwardAgent yes
| #!/usr/bin/tarantool | |
| -- vim:ts=4 ss=4 sw=4 expandtab | |
| -- Usage: tarantool relay-1mops.lua [nodes] | |
| -- nodes should be a number from 1 to 31 | |
| local popen = require('popen') | |
| local clock = require('clock') | |
| local fiber = require('fiber') | |
| local math = require('math') | |
| local yaml = require('yaml') |
| #!/usr/bin/env tarantool | |
| local net_box = require('net.box') | |
| local fiber = require('fiber') | |
| local clock = require('clock') | |
| local CONN_STRING = 'localhost:3301' -- SET UP CONECTION STRING TO YOUR ROUTER / PLAIN TARANTOOL | |
| local WORKER_COUNT = 256 -- SET UP NUMBER OF PARALLEL REQUESTS HERE | |
| local conn = assert(net_box.connect(CONN_STRING)) |
Integrate JMH (Java Microbenchmarking Harness) with Spring (Boot) and make developing and running benchmarks as easy and convinent as writing tests.
Wrap the necessary JMH boilerplate code within JUnit to benefit from all the existing test infrastructure Spring (Boot) provides. It should be as easy and convinent to write benchmarks as it is to write tests.
Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.
# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
| # useful for running ssl server on localhost | |
| # which in turn is useful for working with WebSocket Secure (wss) | |
| # copied from http://www.piware.de/2011/01/creating-an-https-server-in-python/ |
| project(testlink) | |
| add_executable(testlink main.cpp) | |
| target_link_libraries(testlink) |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| /* | |
| * Parallel bitonic sort using CUDA. | |
| * Compile with | |
| * nvcc -arch=sm_11 bitonic_sort.cu | |
| * Based on http://www.tools-of-computing.com/tc/CS/Sorts/bitonic_sort.htm | |
| * License: BSD 3 | |
| */ | |
| #include <stdlib.h> | |
| #include <stdio.h> |