forked from schani/metapixel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTES
56 lines (40 loc) · 1.13 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
mathmaprc syntax:
(prepare-directory directory)
(prepare-dimensions width height) ; defaults to 128 * 128
(library-directory directory) ; can be issued multiple times
(small-image-dimensions width height)
(yiq-weights y i q)
(metric metric) ; subpixel or wavelet
(search-method method) ; local or global
(minimum-classic-distance dist)
(minimum-collage-distance dist)
(cheat-amount perc)
(forbid-reconstruction-distance dist)
before new lispreader:
Mark-Probsts-Computer:~/Work/unix/metapixel/metapixel schani$ time ./metapixel -w 128 -h 96 --metapixel ../mets/tinischani.png out.png </pix/wide.prepared/tables.mxt
real 0m48.559s
user 0m31.720s
sys 0m1.280s
real 0m45.765s
user 0m30.670s
sys 0m1.320s
with pools, but without mmap:
real 0m43.462s
user 0m26.570s
sys 0m1.650s
real 0m37.484s
user 0m17.960s
sys 0m2.210s
real 0m37.539s
user 0m25.020s
sys 0m1.800s
with mmap and pools:
real 0m31.829s
user 0m20.860s
sys 0m1.610s
real 0m32.800s
user 0m13.820s
sys 0m1.180s
real 0m32.343s
user 0m21.100s
sys 0m1.750s