glTF exporter: Manage all 4 types of Vertex Colors (corner/point - byte/float)
[blender-addons.git] / ant_landscape / test.py
blob39d060c45d01201567e78a748e5c21c5d90f91f3
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 from numpy import *
5 if __name__ == '__main__':
6 # This only works when this script is loaded as main, or
7 # run directly from the ant_landscape directory.
8 from stats import Stats
10 stats = Stats()
12 a = zeros(10000000)
13 print(stats.time())
14 print(stats.memory())
15 a = sin(a)
16 print(stats.time())
17 print(stats.memory())
18 a = cos(a)
19 print(stats.time())
20 print(stats.memory())
21 a = cos(a)**2+sin(a)**2
22 print(stats.time())
23 print(stats.memory())