File tree Expand file tree Collapse file tree 4 files changed +449
-7
lines changed
Expand file tree Collapse file tree 4 files changed +449
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ debug : CFLAGS = -g -Wall -Wextra -Iinclude -DDEBUG
2424release32 : CFLAGS += -mx32
2525
2626SRC = src/parser.c src/scanner.c src/utils.c src/converters.c \
27- test/main.c test/scanner_test.c test/parser_test.c test/test_utils.c test/utils_test.c test/$(SPEC ) .c
27+ test/main.c test/scanner_test.c test/parser_test.c test/test_utils.c test/utils_test.c \
28+ test/random_test.c test/$(SPEC ) .c
2829
2930HEADERS = include/fix.h include/$(SPEC ) .h src/fix_impl.h test/test_utils.h
3031
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ _OS:_ Linux Mint 17.2 64bit
2626
2727FIX message type | FIX specification | Validation | Average time to parse one message
2828----------------------------------|------------------------------------------|------------|----------------------------------
29- NewOrderSingle('D') | Hand-coded spec. for this message only | No | 0.329 µs/msg
30- NewOrderSingle('D') | Hand-coded spec. for this message only | Yes | 0.539 µs/msg
31- NewOrderSingle('D') | Compiled full spec. for FIX.4.4 | Yes | 0.740 µs/msg
32- MarketDataIncrementalRefresh('X') | Hand-coded spec. for this message only | Yes | 1.274 µs/msg
33- MarketDataIncrementalRefresh('X') | Compiled full spec. for FIX.4.4 | Yes | 1.382 µs/msg
29+ NewOrderSingle('D') | Hand-coded spec. for this message only | No | 0.326 µs/msg
30+ NewOrderSingle('D') | Hand-coded spec. for this message only | Yes | 0.547 µs/msg
31+ NewOrderSingle('D') | Compiled full spec. for FIX.4.4 | Yes | 0.739 µs/msg
32+ MarketDataIncrementalRefresh('X') | Hand-coded spec. for this message only | Yes | 1.263 µs/msg
33+ MarketDataIncrementalRefresh('X') | Compiled full spec. for FIX.4.4 | Yes | 1.443 µs/msg
3434
3535For more details see ` doc/ ` directory of the project.
Original file line number Diff line number Diff line change @@ -31,11 +31,13 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131void scanner_test ();
3232void parser_test ();
3333void utils_test ();
34+ void random_messages_test ();
3435
35- int main (int argv __attribute__(( __unused__ )), char * * argc __attribute__(( __unused__ )) )
36+ int main ()
3637{
3738 scanner_test ();
3839 parser_test ();
40+ random_messages_test ();
3941 utils_test ();
4042
4143 return 0 ;
You can’t perform that action at this time.
0 commit comments