diff options
author | Jimmy Hazevoet <jimhazevoet@gmail.com> | 2017-06-17 17:52:25 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2017-06-17 17:52:25 +0300 |
commit | e813b903c340fdc1edb2d51c4c5c492a55f367bf (patch) | |
tree | fe4df5a6cda6fb63b0ce2f08e2ad73023ca29060 /ant_landscape/test.py | |
parent | 200a9bbbd480251d774424700a424f105022535a (diff) |
Ant Landscape: fix requested ui changes
Diffstat (limited to 'ant_landscape/test.py')
-rw-r--r-- | ant_landscape/test.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ant_landscape/test.py b/ant_landscape/test.py new file mode 100644 index 00000000..32894a18 --- /dev/null +++ b/ant_landscape/test.py @@ -0,0 +1,19 @@ +from stats import Stats +from numpy import * + +stats = Stats() + +a = zeros(10000000) +print(stats.time()) +print(stats.memory()) +a = sin(a) +print(stats.time()) +print(stats.memory()) +a = cos(a) +print(stats.time()) +print(stats.memory()) +a = cos(a)**2+sin(a)**2 +print(stats.time()) +print(stats.memory()) + + |