Commits

arkdro committed 64dc516

add test results

Comments (0)

Files changed (2)

erlang/test/test.config

 {odeci_prog, 'odec_port.native'}. %% relative to priv/
 
 {warm_up_time, 1000}. %% time between odeci_prog start and tests
-{length, 1000}. %% length of test sequence
-{vector_length, 10}. %% length of one list to operate on
+{length, 50000}. %% length of test sequence
+{vector_length, 2}. %% length of one list to operate on
 
 %% random sign for decimals
 {random_sign, true}.
 
 %% random exponent for decimals, min, max.
 {random_exponent, true}.
-{exponent_min, -1}.
-{exponent_max, 1}.
+{exponent_min, -10}.
+{exponent_max, 10}.
 
 %% random mantissa for decimals, min, max.
 {random_mantissa, true}.
 {mantissa_min, 0}.
-{mantissa_max, 99999999999999999999999}.
+{mantissa_max, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999}.
 
 {allowed_delta_in_result, 9}.
 

erlang/test/timing

 oe - outside of erlang. Means use of ocaml
 t - byte compiled or native
 
+single operations:
+==================
+
 0.0.1:
 t	w	g	go	gd	god	godc
 b	1	6	30		33	33
 t	w	g	go	gd	godc(oe)
 n	1	22	108	30	131 (47)
 b	1	21	268	30	301 (217)
+
+list operations:
+===============
+num of lists, list length
+lst	items	t	w	g	go	(oe)
+100	1000	n	1	11	116	(104)
+200	500	n	1	11	68	(55)
+400	250	n	1	11	45	(31)
+500	200	n	1	11	40	(27)
+667	150	n	1	11	37	(21)
+800	125	n	1	11	36	(19)
+901	111	n	1	11	36	(19)
+1000	100	n	1	12	35	(18)
+1100	91	n	1	12	34	(18)
+1250	80	n	1	12	35	(18)
+1493	67	n	1	12	37	(18)
+1613	62	n	1	12	37	(17)
+1818	55	n	1	12	39	(18)
+2000	50	n	1	12	37	(17)
+2500	40	n	1	12	36	(16)
+3030	33	n	1	12	37	(15)
+4000	25	n	1	12	38	(15)
+5000	20	n	1	12	38	(14)
+10000	10	n	1	12	39	(13)
+20000	5	n	1	12	41	(14)
+33333	3	n	1	12	46	(18)
+50000	2	n	1	12	53	(21)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.