Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 38 bytes
Concurrency Level: 100
Time taken for tests: 31.591 seconds
| import os | |
| import re | |
| class FilePerms(object): | |
| class _fp_field(object): | |
| def __init__(self, attribute): | |
| self.attribute = attribute |
| tectonic: | |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking localhost (be patient) | |
| Completed 1000 requests | |
| Completed 2000 requests | |
| Completed 3000 requests |
| tectonic: | |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking localhost (be patient) | |
| Completed 1000 requests | |
| Completed 2000 requests | |
| Completed 3000 requests |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking localhost (be patient) | |
| Completed 1000 requests | |
| Completed 2000 requests | |
| Completed 3000 requests | |
| Completed 4000 requests | |
| Completed 5000 requests |
| #!/bin/sh -x | |
| die () { | |
| msg="$1" | |
| echo $msg 1>&2 | |
| exit 1 | |
| } | |
| prep_sqlite() { |
| cimport cython | |
| from libc.stdlib cimport calloc, free | |
| cdef extern from "qsortest.h": | |
| void qsort_char(unsigned char *base, size_t nmemb) | |
| def mvqsort(unsigned char[:] vofi): | |
| qsort_char(&vofi[0], vofi.shape[0]) |
| import ctypes | |
| import os | |
| import socket | |
| socklen_t = ctypes.c_uint | |
| SCM_RIGHTS = 0x01 | |
| libc = ctypes.CDLL('libc.so.6') | |
| class iovec(ctypes.Structure): | |
| _fields_ = [('iov_base', ctypes.c_void_p), |
| import ctypes | |
| class cmsghdr0(ctypes.Structure): | |
| _fields_ = [('cmsg_len', ctypes.c_size_t), | |
| ('cmsg_level', ctypes.c_int), | |
| ('cmsg_type', ctypes.c_int)] | |
| class cmsghdr(ctypes.Structure): |
| #include <stdio.h> | |
| #include <sys/socket.h> | |
| int | |
| main(int argc, char *argv[]) | |
| { | |
| printf("%d %d %d\n", CMSG_ALIGN(sizeof(int)), CMSG_ALIGN(sizeof (struct cmsghdr)), CMSG_SPACE(sizeof(int))); | |
| } |