Skip to content

Commit

Permalink
reorder string-concat test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Apr 4, 2022
1 parent 9ba1d19 commit c945613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export const testStringDecodingPerformance = () => {
}
})
})
t.assert(durationConcatElements < durationConcatElementsNative * 1.3, '1.3x faster. We expect that the native approach is slower. If this fails, our expectantion is not met in your javascript environment. Please report this issue.')
t.assert(durationConcatElements < durationSingleElements, 'We expect that the second approach is faster. If this fails, our expectantion is not met in your javascript environment. Please report this issue.')
t.assert(durationConcatElements < durationConcatElementsNative * 1.3, 'We expect that the native approach is slower. If this fails, our expectantion is not met in your javascript environment. Please report this issue.')
}

/**
Expand Down

0 comments on commit c945613

Please sign in to comment.