Commit Graph

126 Commits

Author SHA1 Message Date
3a6e16ee2b Move benchmarks to separate modules
All checks were successful
Deploy datapack to dev / Build (push) Successful in 9s
2025-03-26 08:55:15 -05:00
3c0eab8fd8 Add arraytest3 to test on macro rather than two
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
2025-03-23 10:44:53 -05:00
1474266e89 Change string to object, smh
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 10:23:18 -05:00
1784e8fcd5 Change keyword to use storages
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 10:08:32 -05:00
2d3d2abe33 Remove tellraw logs
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
2025-03-23 02:24:54 -05:00
a9f6581a8d Fix storage ref in macro
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 02:13:15 -05:00
a8e3346b4d Fix index
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 02:03:15 -05:00
8a4bd9e9b9 Add helper functions
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 02:01:49 -05:00
651ab1286c Add say debug command
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:46:59 -05:00
13150be611 Add print to debug
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:37:45 -05:00
58678de1d3 Fix macro line
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:35:57 -05:00
80fe00caba Add index lookup in benchmark test
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:34:43 -05:00
087f852b54 Populate test .run()
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:21:44 -05:00
9588154a2f Populate clean function
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:11:18 -05:00
a54ff65abe Populate setup and various print functions for test
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 01:08:25 -05:00
1345fa13c0 Add cleanup for temp array storage
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-23 00:59:35 -05:00
d1c96735f0 Fix storage path
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 00:50:06 -05:00
2942c065ea Add actual test logic for arrayTest1
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-23 00:48:06 -05:00
490c3a9032 Change from for loop to Hardcode
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-22 21:55:43 -05:00
5e44a9eb28 Simplify "for" loop to try to get it running
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-22 21:35:45 -05:00
3b7fcca6f3 Add debug log to loop
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-22 21:33:50 -05:00
5d62488695 Edit test and add print for debug
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-22 21:27:28 -05:00
b0d2fd4695 Test integer hash with smaller values
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-22 18:48:36 -05:00
2cd5f26451 Fix lazy func param
All checks were successful
Deploy datapack to dev / Build (push) Successful in 5s
2025-03-21 20:28:44 -05:00
c75b6c8fea Add logging output to test function
All checks were successful
Deploy datapack to dev / Build (push) Successful in 5s
2025-03-21 20:27:38 -05:00
a4c1d5a865 Add another test case
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 20:25:21 -05:00
b309485d18 Add test function to actually run the tests
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 20:23:56 -05:00
8d3ef2b799 Tweak hash function and add test
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-21 20:22:12 -05:00
7be40debe7 Add cryptography module with hashing function
All checks were successful
Deploy datapack to dev / Build (push) Successful in 9s
2025-03-21 15:40:08 -05:00
a4e515ed80 Fix module imports 2025-03-21 13:22:52 -05:00
e5ce1e7734 Move database to submodule and add crytography mod 2025-03-21 13:20:18 -05:00
7a69996c55 Rename db test module to benchmark 2025-03-21 13:18:41 -05:00
237259d509 Add database testing module with array tests 2025-03-21 13:18:00 -05:00
a830c894ac Change entity selector
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-21 11:14:43 -05:00
622141f321 Fix missing semicolon
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 10:46:33 -05:00
19175fbb93 Add tabe creationg log message
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
2025-03-21 10:39:27 -05:00
d5aa1859d6 Add database to imports
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 10:36:23 -05:00
6b55f9bbd9 Merge branch 'dev' into dev-database
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 10:26:09 -05:00
3091d6b3f4 Restructure imports in main.jmc
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
2025-03-21 10:24:33 -05:00
6cb4b30b2d Merge pull request 'Create general purpose logging module' (#4) from dev-logging into dev
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
Reviewed-on: #4
2025-03-11 20:31:37 -05:00
b6e1d224e5 Fix debug logging messages 2025-03-11 19:55:30 -05:00
9117c84653 Enable debug logging to bypass log level 2025-03-11 19:55:30 -05:00
7bfa12b539 Turn line into macro command 2025-03-11 19:55:30 -05:00
d30418d57a Fix log level message to display current log level 2025-03-11 19:55:30 -05:00
accd746389 Change logger type check to use temp var 2025-03-11 19:55:30 -05:00
cf55f238ff Add logger error for invalid type paramater 2025-03-11 19:55:30 -05:00
68d4b8c25d Add log level threshold
Set default log level to 3, or ERROR. Ensure log level isn't overriden
on reload. Add errors if log level is misconfigured.
2025-03-11 19:55:30 -05:00
686592df33 Add double-quotes back to log messages
Double-quotes were initially removed for aesthetic reasons. However, JMC
collapses whitespace, resulting in mangled message output. Double quotes
are converted to single quotes in compliled output.
2025-03-11 19:55:30 -05:00
28d85c4e02 Remove double-quotes from log messages 2025-03-11 19:55:30 -05:00
5468fa9605 Add "caller" paramteter to logger 2025-03-11 19:55:30 -05:00