5 * Includes INDEX creation in the dbSchemas files, this greatly improves performance when performing filename generation, antidupe, blacklist or rate-limit checks against the database,
6 especially on big databases. It's recommended you follow the instructions below on how to add INDEX.
7 * time() is called once in connector to get a timestamp instead of multiple times.
8 * The function
`diverseArray` is now called
`transposeArray`, the variables within the function are also renamed to make it easier to understand.
9 * The function
`uploadFile` performs a check if
`BENCHMARK_MODE` is set in the configuration, if it is the file will not be uploaded.
10 * Benchmarking capbility added.
11 * Docs updated with how to use
[Benchmarking](https://github.com/nokonoko/Uguu/wiki/Benchmarking) and also a
[Optimization Guide](https://github.com/nokonoko/Uguu/wiki/Optimization).
15 * config.json must include the
`"BENCHMARK_MODE"` value, should be set to
`false` when not benchmarking, otherwise file(s) will not be uploaded.
17 ### Add INDEX to an existing Uguu installation
22 CREATE INDEX files_hash_idx ON files (hash);
23 CREATE INDEX files_name_idx ON files (filename);
24 CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
25 CREATE INDEX blacklist_hash_idx ON blacklist (hash);
31 CREATE INDEX files_hash_idx ON files (hash);
32 CREATE INDEX files_name_idx ON files (filename);
33 CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
34 CREATE INDEX blacklist_hash_idx ON blacklist (hash);
40 CREATE INDEX files_hash_idx ON files (hash);
41 CREATE INDEX files_name_idx ON files (filename);
42 CREATE INDEX ratelimit_iphash_idx ON ratelimit (iphash);
43 CREATE INDEX blacklist_hash_idx ON blacklist (hash);