Commit Graph

103 Commits

Author SHA1 Message Date
Vsevolod Stakhov
1b94a3560c Eliminate mess with linking. 2015-02-13 23:45:06 +00:00
Vsevolod Stakhov
4c6b431ae4 Add latency calculations. 2015-02-12 12:51:34 +00:00
Vsevolod Stakhov
587d0df0c0 Allow to specify keypairs cache externally. 2015-02-11 22:13:02 +00:00
Vsevolod Stakhov
266d5669d8 Fix memory leaks in HTTP code. 2015-02-09 16:23:21 +00:00
Vsevolod Stakhov
c4e4a60be8 Small fixes. 2015-02-09 10:52:31 +00:00
Vsevolod Stakhov
544fea1f9f Unify align macro. 2015-02-08 22:27:04 +00:00
Vsevolod Stakhov
e97b0030be Init cryptobox library properly. 2015-02-07 16:53:45 +00:00
Vsevolod Stakhov
9068c5040e Add uncached test. 2015-02-04 22:05:41 +00:00
Vsevolod Stakhov
1ceee9d1ab Fix encryption test. 2015-02-04 17:17:27 +00:00
Vsevolod Stakhov
984c43f649 Add HTTP connections speed test. 2015-02-04 17:05:53 +00:00
Vsevolod Stakhov
75f34d8d40 More rework. 2015-01-20 01:20:32 +00:00
Vsevolod Stakhov
e48a8c5e6f Remove checks from debian build. 2014-12-20 17:03:30 +00:00
Vsevolod Stakhov
a13bc71723 Resize hashes array properly. 2014-12-19 10:55:06 +00:00
Vsevolod Stakhov
918031c506 Measure time for shingles generation. 2014-12-19 10:53:22 +00:00
Vsevolod Stakhov
74fc525324 Update tests suite. 2014-12-17 18:29:47 +00:00
Vsevolod Stakhov
7404cdceee Add some tests for shingles. 2014-12-17 17:27:57 +00:00
Vsevolod Stakhov
d2150fc165 Refactor function names. 2014-11-29 17:03:24 +00:00
Vsevolod Stakhov
cd5656abb7 Rework IP addresses in upstreams.
- Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only
  upstreams (since the support of ipv6 is poor in many OSes and
  environments).
- Free IP list on upstream destruction.
- Add test cases for addresses selection.
- Allow adding of free form IP addresses to upstreams.
2014-11-07 13:33:45 +00:00
Vsevolod Stakhov
f8971ca2d4 Improve upstream tests. 2014-11-03 11:41:07 +00:00
Vsevolod Stakhov
15dc327ac9 Configure upstreams in workers. 2014-11-03 10:23:32 +00:00
Vsevolod Stakhov
1e86acfae8 Add consistent hash test.
P value is calculated as following:
when we add/remove M upstreams from the list, the probability of hash
miss should be close to the relation N / (N + M), where N is the size of
the previous upstreams list.

So far, the algorithm described in http://arxiv.org/abs/1406.2294 shows
p value more than 0.99.
2014-11-02 21:42:53 +00:00
Vsevolod Stakhov
9634654300 Some more fixes to the test. 2014-11-02 19:03:15 +00:00
Vsevolod Stakhov
89442fca48 Add a simple upstreams test. 2014-11-02 18:38:43 +00:00
Vsevolod Stakhov
d89a165c0d Remove old radix tests. 2014-11-02 17:39:45 +00:00
Vsevolod Stakhov
a8c9abd046 Rework fuzzy storage radix. 2014-10-01 15:15:11 +01:00
Vsevolod Stakhov
5b545bdf82 Add tests for ipv6 addresses. 2014-10-01 13:55:14 +01:00
Vsevolod Stakhov
40e2310e65 Add cleanup. 2014-09-18 14:16:46 +01:00
Vsevolod Stakhov
48d2be7a71 Use memory pool for radix. 2014-09-18 13:18:05 +01:00
Vsevolod Stakhov
7eaf0fbe91 More realistic workload for radix. 2014-09-17 17:43:04 +01:00
Vsevolod Stakhov
3747d8d66e Fix profiler linkage. 2014-09-17 17:38:05 +01:00
Vsevolod Stakhov
d00fbcbff7 Select more limited range of masks. 2014-09-17 17:37:09 +01:00
Vsevolod Stakhov
e4846184c2 Rework radix tests. 2014-09-17 16:37:46 +01:00
Vsevolod Stakhov
430efa5b10 More fixes to compressed radix. 2014-09-17 14:22:23 +01:00
Vsevolod Stakhov
ebb2128e86 Improve test vector. 2014-09-17 12:39:21 +01:00
Vsevolod Stakhov
546c7aa532 Improve testing for radix. 2014-09-16 18:28:53 +01:00
Vsevolod Stakhov
3d36d9cc64 Improve radix trie tests. 2014-09-15 10:46:40 +01:00
Vsevolod Stakhov
aa48f9df19 Add radix trie test suite. 2014-09-12 12:18:55 +01:00
Vsevolod Stakhov
491e42b434 Restore testing framework. 2014-09-12 11:56:42 +01:00
Vsevolod Stakhov
d6643f35d7 Refactor config API. 2014-04-30 13:26:51 +01:00
Vsevolod Stakhov
ad837700b8 Refactor memory pool naming. 2014-04-20 08:16:49 -07:00
Vsevolod Stakhov
293ea2757b Add comparasion for rcl vs jansson.
Fix some issues in jansson memory management.
2013-10-15 13:55:09 +01:00
Vsevolod Stakhov
04c3a653f7 Disallow '//' as a single line comment. 2013-10-12 10:00:14 +01:00
Vsevolod Stakhov
03a70b9d49 Fix rcl parser. 2013-10-11 15:16:07 +01:00
Vsevolod Stakhov
d00c68bbac Improve tests. 2013-08-25 13:14:46 +01:00
Vsevolod Stakhov
1c97bfe34a Add refcount to rcl objects. 2013-08-25 11:03:07 +01:00
Vsevolod Stakhov
7d2af49e0f Add test for signature checking in rcl. 2013-08-22 15:36:04 +01:00
Vsevolod Stakhov
40eb7a316a Fix whitespace parsing for rcl arrays. 2013-08-21 15:58:53 +01:00
Vsevolod Stakhov
91d9f33e86 Fix some issues with comments in rcl. 2013-08-21 15:31:48 +01:00
Vsevolod Stakhov
5607e21b22 Improve test suite by using standard glib test options. 2013-08-21 15:12:24 +01:00
Vsevolod Stakhov
767c6ccf61 Refactor fetching functions slightly. 2013-08-21 11:57:15 +01:00