Skip to content

Instantly share code, notes, and snippets.

View scalone's full-sized avatar

Thiago Scalone scalone

  • CloudWalk
  • São Paulo / SP
View GitHub Profile
@scalone
scalone / PerformanceTest2
Created January 20, 2014 02:44
PerformanceTest2
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 www.nerdbrew.com.br (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
ab -n 1000 -c 50 http://www.nerdbrew.co/
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 www.nerdbrew.co (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
4 first Bytes: ["18", "08", "00", "12"]
Packet size converted 876
Packet size Bytes: ["6c", "03"]
Rest Bytes: ["83", "6c", "00", "00", "00", "02", "61", "00", "6d", "00", "00", "03", "5e", "42", "4d", "5e", "03", "00", "00", "00", "00", "00", "00", "3e", "00", "00", "00", "28", "00", "00", "00", "78", "00", "00", "00", "32", "00", "00", "00", "01", "00", "01", "00", "00", "00", "00", "00", "20", "03", "00", "00", "c4", "0e", "00", "00", "c4", "0e", "00", "00", "00", "00", "00", "00", "00", "00", "00", "00", "00", "00", "00", "00", "ff", "ff", "ff", "00", "e3", "c7", "8f", "04", "47", "c6", "38", "fe", "08", "f0", "3f", "c1", "b7", "f8", "37", "00", "e3", "c7", "8e", "00", "63", "8e", "38", "fc", "00", "ef", "cf", "be", "b7", "f7", "d7", "00", "e3", "c7", "8c", "00", "71", "1e", "38", "f8", "00", "df", "f7", "7f", "37", "ef", "e7", "00", "e3", "c7", "88", "78", "71", "1e", "38", "f0", "f0", "bf", "fe", "ff", "b7", "df", "f7", "00", "e3", "c7", "88", "fc", "78", "3e", "38", "f1", "f8", "bf", "fe", "ff", "b7", "
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
/* Include the mruby headers */
#include <mruby.h>
#include <mruby/proc.h>
#include <mruby/data.h>
#include <mruby/compile.h>
#!/bin/env bash
## Mruby dir
# cd mruby
# rake clean
# rake
# cd ..
gcc -I mruby/include/ old_mrbc.c mruby/build/host/lib/libmruby.a -lm -o old_mrbc.out
## execute
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
/* Include the mruby headers */
#include <mruby.h>
#include <mruby/compile.h>
#include "mruby/irep.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
/* Include the mruby headers */
#include <mruby.h>
#include <mruby/compile.h>
#include "mruby/irep.h"
.set noreorder
.global pipe
.type pipe,@function
pipe:
lui $gp, %hi(_gp_disp)
addiu $gp, %lo(_gp_disp)
addu $gp, $gp, $25
li $2, 4042
syscall
module T
def self.display
puts "display 1"
end
end
T.display
def T.display
puts "display 2"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//SEKAL
int process_transaction(int (*callbackFunc)(int iDo))
{
int showBitmap=1;
// gac
callbackFunc(showBitmap);