mirror of
https://github.com/littensy/charm.git
synced 2026-10-23 05:46:27 +00:00
chore: prepare release, set up workflows
This commit is contained in:
parent
0416717f6c
commit
a5d38b0d6d
58 changed files with 261 additions and 110 deletions
|
|
@ -79,7 +79,7 @@ return function()
|
|||
local patches = serdes(patch.diff(prevState, nextState))
|
||||
local applied = patch.apply(prevState, patches)
|
||||
|
||||
assert(os.clock() - start < 1e-3, `Performance is not acceptable ({(os.clock() - start) * 1e3}ms)`)
|
||||
assert(os.clock() - start < 10e-3, `Performance is not acceptable ({(os.clock() - start) * 1e3}ms)`)
|
||||
|
||||
for index in next, prevState do
|
||||
expect(applied[index]).to.equal(nextState[index])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue