Commit Graph

77 Commits

Author SHA1 Message Date
Caleb Kleveter 12a49c1e4c
Fixed Serializer crash when columns have different lengths 2021-10-19 07:52:01 -05:00
Caleb Kleveter 7bc2decc0a
Fix cell ordering of rows when using AsyncEncoder 2020-08-11 17:00:46 -05:00
Caleb Kleveter 0a27e3bf43
Created EncoderTests.testEncodingColumnValues test case 2020-08-11 16:20:02 -05:00
Caleb Kleveter 572b492fde
Generated LinuxMain 2019-06-05 10:42:34 -05:00
Caleb Kleveter b7c93ed182
Removed un-needed if-let statements in Serializer.serialize(_:) method 2019-05-20 11:29:42 -05:00
Caleb Kleveter 05648329cd
Updated baseline speeds for StressTests test cases 2019-05-20 11:14:26 -05:00
Caleb Kleveter 00a5844660
Created EncoderTests.testEscapingDelimiters test case 2019-05-20 10:44:31 -05:00
Caleb Kleveter 9650aaac98
Created SerializerTests.testEscapedDelimiter test case 2019-05-20 09:40:55 -05:00
Caleb Kleveter 1da3200e3d
Merge branch 'master' into master 2019-05-20 08:08:45 -05:00
Justin fa39386e5d updates tests for new Config properties 2019-05-19 11:46:32 -06:00
Justin 1e445117a8 updates SerializerTests.swift for Config changes 2019-05-11 20:21:26 -06:00
Justin b1aac4d7db fixes compiler error 2019-05-05 09:30:18 -06:00
Caleb Kleveter 3880dd7138
Moved all test data to Date.swift file 2019-04-30 09:33:53 -05:00
Caleb Kleveter d70b9b0b9f
Escape quote characters during serializing and encoding 2019-04-29 20:10:59 -05:00
Caleb Kleveter 6b7df71b63
Made all Response struct properties optional 2019-04-29 20:09:25 -05:00
Caleb Kleveter 16dd5b5dc1
Only check parser position update if a cell or row is complete 2019-04-19 10:02:46 -05:00
Caleb Kleveter 413c17eb94
Added measure basline comments to DecoderTests measure tests 2019-04-19 10:00:35 -05:00
Caleb Kleveter 5afcfbb45f
Removed old code that has been replaced by streaming implementations 2019-04-19 09:58:56 -05:00
Caleb Kleveter fb983c5bb6
Created StressTests.testMeasureSyncEncoding test case 2019-04-19 09:55:55 -05:00
Caleb Kleveter 3453717c2c
Created StressTests.testMeasureAsyncEcndoing test case 2019-04-19 09:52:04 -05:00
Caleb Kleveter 74d621022e
Created StressTests.testMeasureSyncDecoding test case 2019-04-19 09:42:52 -05:00
Caleb Kleveter 45de8e19cb
Created StressTests.testMeasureAsyncDecoding test case 2019-04-19 09:38:15 -05:00
Caleb Kleveter cc8f568e21
Use Int literals instead of characters in Bytes.int, .float, and .double propertys
This gives ~94% speed improvment
2019-04-19 09:26:32 -05:00
Caleb Kleveter d4f82e6c77
Created StressTests.testMeasureSyncSerialize test case 2019-04-19 09:08:41 -05:00
Caleb Kleveter 9a9b0a2bd8
Created StressTests.testMeasureAsyncSerialize test case 2019-04-19 09:04:13 -05:00
Caleb Kleveter 77151f0255
Created StressTests.testMeasureSyncParsing test case 2019-04-19 08:58:42 -05:00
Caleb Kleveter 2801681d5c
Created StressTests test suite with .testMeasureAsyncParsing test case 2019-04-19 08:55:04 -05:00
Caleb Kleveter 4df8e23781
Updated CSVTests.testAsyncParseStringSpeed expected speed comment 2019-04-18 15:34:18 -05:00
Caleb Kleveter 4839271e06
Assign bytesLeft in Parser.parse(_:length:) using a single line 2019-04-18 15:26:53 -05:00
Caleb Kleveter f488cb0563
Trap on overflow when creating number from bytes 2019-04-18 13:07:21 -05:00
Caleb Kleveter f1021fbd9d
Created UtilityTests test suite 2019-04-18 12:55:16 -05:00
Caleb Kleveter e4d21444fb
Removed CSV namespacing from Parser and SyncParser types. Removed CSV.Delimiter enum 2019-04-18 12:19:08 -05:00
Caleb Kleveter 1a12fe8bde
Updated CSVTests.testCSVSyncEncodingSpeed test case expected time 2019-04-18 11:59:12 -05:00
Caleb Kleveter 65f1552335
Updated CSVTests.testCSVSyncDecodeSpeed test case expected time 2019-04-18 11:55:45 -05:00
Caleb Kleveter d95401abc2
Created EncoderTests test suite 2019-04-18 11:45:41 -05:00
Caleb Kleveter 40b5312902
Made Person struct for DecoderTests test suite fileprivate 2019-04-18 11:42:39 -05:00
Caleb Kleveter d74028d771
Created SerializerTests.testChunkedSerialize and .testMeasureChunkedSerialize test cases 2019-04-18 10:50:47 -05:00
Caleb Kleveter 42d6b7c7c5
Use a standard dictionary in SerializerTests.testMeasuerSyncSerializer test case 2019-04-18 10:26:24 -05:00
Caleb Kleveter 3b39fdb910
Created SerializerTests test suite with .testSyncSerialize and .testMeasuerSyncSerializer cases 2019-04-18 10:16:36 -05:00
Caleb Kleveter fa20a47458
Created Serializer struct 2019-04-18 09:38:05 -05:00
Caleb Kleveter a4444ffef3
Created aysnc CSV encoder 2019-04-17 16:10:13 -05:00
Caleb Kleveter 9896bd77df
Updated expected time comments in CSVTests test suite 2019-04-17 12:51:14 -05:00
Caleb Kleveter 0259e9e2bb
Changed CSV.Parser type back to a struct
Making it a class made the SyncParser unbearably slow
2019-04-17 12:38:22 -05:00
Caleb Kleveter 037993598f
Track cell data useing slice bounds in CSV.Parser implementation 2019-04-17 11:46:48 -05:00
Caleb Kleveter f58b64600a
Make CSV.Parser instances constant in the ParserTests test suite 2019-04-17 10:17:17 -05:00
Caleb Kleveter c56d3909e7
Added cases to CSVTests test suite for updated parsers and decoders 2019-04-17 10:16:19 -05:00
Caleb Kleveter b92c4d488d
Renamed AsyncDecoderTests.swift file to DecoderTests.swift 2019-04-16 16:13:55 -05:00
Caleb Kleveter 8a8072de3b
Renamed AsyncDecoderTests to DecoderTests 2019-04-16 11:52:22 -05:00
Caleb Kleveter 9fd8396f7f
Created AsyncDecoderTests test suite 2019-04-16 11:31:56 -05:00
Caleb Kleveter 76c3b2a8e4
Made ParserTests.swift data and chunks values fileprivate 2019-04-16 11:31:41 -05:00