forked from xyncro/chiron
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add timing tests for escaping JSON strings
On my machine, the escaped test case has a runtime of 74ms. The chosen range of up to 5000ms provides a wide range that precludes the pathological case while still being acheivable on underpowered hardware. Tests should be converted to proper benchmarks in a later PR (see xyncro#70). Also exposes internals to `Chiron.Tests`.
- Loading branch information
1 parent
0797106
commit 269fc15
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters