Skip to content

Instantly share code, notes, and snippets.

@tklauser
Last active November 30, 2018 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tklauser/576094d1635c1d3d18793ab3fbef9abf to your computer and use it in GitHub Desktop.
Save tklauser/576094d1635c1d3d18793ab3fbef9abf to your computer and use it in GitHub Desktop.
go test -v bytes on linux/arm
# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 9 (v7l)
processor : 0
BogoMIPS : 1196.85
processor : 1
BogoMIPS : 1196.85
processor : 2
BogoMIPS : 1196.85
processor : 3
BogoMIPS : 1196.85
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 9
Hardware : Toradex Apalis T30
Revision : 0000
Serial : 0000000000000000
# gotip test -v bytes
=== RUN TestEqualNearPageBoundary
=== PAUSE TestEqualNearPageBoundary
=== RUN TestIndexByteNearPageBoundary
=== PAUSE TestIndexByteNearPageBoundary
=== RUN TestIndexNearPageBoundary
=== PAUSE TestIndexNearPageBoundary
=== RUN TestNewBuffer
--- PASS: TestNewBuffer (0.00s)
=== RUN TestNewBufferString
--- PASS: TestNewBufferString (0.00s)
=== RUN TestBasicOperations
--- PASS: TestBasicOperations (0.00s)
=== RUN TestLargeStringWrites
--- PASS: TestLargeStringWrites (0.15s)
=== RUN TestLargeByteWrites
--- PASS: TestLargeByteWrites (0.14s)
=== RUN TestLargeStringReads
--- PASS: TestLargeStringReads (0.00s)
=== RUN TestLargeByteReads
--- PASS: TestLargeByteReads (0.00s)
=== RUN TestMixedReadsAndWrites
--- PASS: TestMixedReadsAndWrites (0.02s)
=== RUN TestCapWithPreallocatedSlice
--- PASS: TestCapWithPreallocatedSlice (0.00s)
=== RUN TestCapWithSliceAndWrittenData
--- PASS: TestCapWithSliceAndWrittenData (0.00s)
=== RUN TestNil
--- PASS: TestNil (0.00s)
=== RUN TestReadFrom
--- PASS: TestReadFrom (0.00s)
=== RUN TestReadFromPanicReader
--- PASS: TestReadFromPanicReader (0.00s)
=== RUN TestReadFromNegativeReader
--- PASS: TestReadFromNegativeReader (0.00s)
=== RUN TestWriteTo
--- PASS: TestWriteTo (0.00s)
=== RUN TestRuneIO
--- PASS: TestRuneIO (0.00s)
=== RUN TestNext
--- PASS: TestNext (0.00s)
=== RUN TestReadBytes
--- PASS: TestReadBytes (0.00s)
=== RUN TestReadString
--- PASS: TestReadString (0.00s)
=== RUN TestGrow
--- PASS: TestGrow (0.02s)
=== RUN TestGrowOverflow
--- PASS: TestGrowOverflow (0.00s)
=== RUN TestReadEmptyAtEOF
--- PASS: TestReadEmptyAtEOF (0.00s)
=== RUN TestUnreadByte
--- PASS: TestUnreadByte (0.00s)
=== RUN TestBufferGrowth
--- PASS: TestBufferGrowth (0.01s)
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestEqualExhaustive
--- PASS: TestEqualExhaustive (0.31s)
=== RUN TestNotEqual
--- PASS: TestNotEqual (6.36s)
=== RUN TestIndex
--- PASS: TestIndex (0.00s)
=== RUN TestLastIndex
--- PASS: TestLastIndex (0.00s)
=== RUN TestIndexAny
--- PASS: TestIndexAny (0.00s)
=== RUN TestLastIndexAny
--- PASS: TestLastIndexAny (0.00s)
=== RUN TestIndexByte
--- PASS: TestIndexByte (0.00s)
=== RUN TestLastIndexByte
--- PASS: TestLastIndexByte (0.00s)
=== RUN TestIndexByteBig
--- PASS: TestIndexByteBig (4.02s)
=== RUN TestIndexByteSmall
--- PASS: TestIndexByteSmall (0.01s)
=== RUN TestIndexRune
--- PASS: TestIndexRune (0.00s)
=== RUN TestCountByte
--- PASS: TestCountByte (0.38s)
=== RUN TestCountByteNoMatch
--- PASS: TestCountByteNoMatch (0.05s)
=== RUN TestExplode
--- PASS: TestExplode (0.00s)
=== RUN TestSplit
--- PASS: TestSplit (0.00s)
=== RUN TestSplitAfter
--- PASS: TestSplitAfter (0.00s)
=== RUN TestFields
--- PASS: TestFields (0.00s)
=== RUN TestFieldsFunc
--- PASS: TestFieldsFunc (0.00s)
=== RUN TestMap
--- PASS: TestMap (0.00s)
=== RUN TestToUpper
--- PASS: TestToUpper (0.00s)
=== RUN TestToLower
--- PASS: TestToLower (0.00s)
=== RUN TestTrimSpace
--- PASS: TestTrimSpace (0.00s)
=== RUN TestRepeat
--- PASS: TestRepeat (0.00s)
=== RUN TestRepeatCatchesOverflow
--- PASS: TestRepeatCatchesOverflow (0.00s)
=== RUN TestRunes
--- PASS: TestRunes (0.00s)
=== RUN TestTrim
--- PASS: TestTrim (0.00s)
=== RUN TestTrimFunc
--- PASS: TestTrimFunc (0.00s)
=== RUN TestIndexFunc
--- PASS: TestIndexFunc (0.00s)
=== RUN TestReplace
--- PASS: TestReplace (0.00s)
=== RUN TestTitle
--- PASS: TestTitle (0.00s)
=== RUN TestToTitle
--- PASS: TestToTitle (0.00s)
=== RUN TestEqualFold
--- PASS: TestEqualFold (0.00s)
=== RUN TestBufferGrowNegative
--- PASS: TestBufferGrowNegative (0.00s)
=== RUN TestBufferTruncateNegative
--- PASS: TestBufferTruncateNegative (0.00s)
=== RUN TestBufferTruncateOutOfRange
--- PASS: TestBufferTruncateOutOfRange (0.00s)
=== RUN TestContains
--- PASS: TestContains (0.00s)
=== RUN TestContainsAny
--- PASS: TestContainsAny (0.00s)
=== RUN TestContainsRune
--- PASS: TestContainsRune (0.00s)
=== RUN TestCompare
--- PASS: TestCompare (0.00s)
=== RUN TestCompareIdenticalSlice
--- PASS: TestCompareIdenticalSlice (0.00s)
=== RUN TestCompareBytes
--- PASS: TestCompareBytes (88.86s)
=== RUN TestReader
--- PASS: TestReader (0.00s)
=== RUN TestReadAfterBigSeek
--- PASS: TestReadAfterBigSeek (0.00s)
=== RUN TestReaderAt
--- PASS: TestReaderAt (0.00s)
=== RUN TestReaderAtConcurrent
--- PASS: TestReaderAtConcurrent (0.00s)
=== RUN TestEmptyReaderConcurrent
--- PASS: TestEmptyReaderConcurrent (0.00s)
=== RUN TestReaderWriteTo
--- PASS: TestReaderWriteTo (0.00s)
=== RUN TestReaderLen
--- PASS: TestReaderLen (0.00s)
=== RUN TestUnreadRuneError
--- PASS: TestUnreadRuneError (0.00s)
=== RUN TestReaderDoubleUnreadRune
--- PASS: TestReaderDoubleUnreadRune (0.00s)
=== RUN TestReaderCopyNothing
--- PASS: TestReaderCopyNothing (0.00s)
=== RUN TestReaderLenSize
--- PASS: TestReaderLenSize (0.00s)
=== RUN TestReaderReset
--- PASS: TestReaderReset (0.00s)
=== RUN TestReaderZero
--- PASS: TestReaderZero (0.00s)
=== CONT TestEqualNearPageBoundary
=== CONT TestIndexByteNearPageBoundary
=== CONT TestIndexNearPageBoundary
--- PASS: TestIndexByteNearPageBoundary (0.02s)
--- PASS: TestIndexNearPageBoundary (0.04s)
--- PASS: TestEqualNearPageBoundary (0.05s)
=== RUN ExampleBuffer
--- PASS: ExampleBuffer (0.00s)
=== RUN ExampleBuffer_reader
--- PASS: ExampleBuffer_reader (0.00s)
=== RUN ExampleBuffer_Grow
--- PASS: ExampleBuffer_Grow (0.00s)
=== RUN ExampleBuffer_Len
--- PASS: ExampleBuffer_Len (0.00s)
=== RUN ExampleTrimSuffix
--- PASS: ExampleTrimSuffix (0.00s)
=== RUN ExampleTrimPrefix
--- PASS: ExampleTrimPrefix (0.00s)
=== RUN ExampleFields
--- PASS: ExampleFields (0.00s)
=== RUN ExampleFieldsFunc
--- PASS: ExampleFieldsFunc (0.00s)
=== RUN ExampleContains
--- PASS: ExampleContains (0.00s)
=== RUN ExampleContainsAny
--- PASS: ExampleContainsAny (0.00s)
=== RUN ExampleContainsRune
--- PASS: ExampleContainsRune (0.00s)
=== RUN ExampleCount
--- PASS: ExampleCount (0.00s)
=== RUN ExampleEqual
--- PASS: ExampleEqual (0.00s)
=== RUN ExampleEqualFold
--- PASS: ExampleEqualFold (0.00s)
=== RUN ExampleHasPrefix
--- PASS: ExampleHasPrefix (0.00s)
=== RUN ExampleHasSuffix
--- PASS: ExampleHasSuffix (0.00s)
=== RUN ExampleIndex
--- PASS: ExampleIndex (0.00s)
=== RUN ExampleIndexByte
--- PASS: ExampleIndexByte (0.00s)
=== RUN ExampleIndexFunc
--- PASS: ExampleIndexFunc (0.00s)
=== RUN ExampleIndexAny
--- PASS: ExampleIndexAny (0.00s)
=== RUN ExampleIndexRune
--- PASS: ExampleIndexRune (0.00s)
=== RUN ExampleLastIndex
--- PASS: ExampleLastIndex (0.00s)
=== RUN ExampleLastIndexAny
--- PASS: ExampleLastIndexAny (0.00s)
=== RUN ExampleLastIndexByte
--- PASS: ExampleLastIndexByte (0.00s)
=== RUN ExampleLastIndexFunc
--- PASS: ExampleLastIndexFunc (0.00s)
=== RUN ExampleJoin
--- PASS: ExampleJoin (0.00s)
=== RUN ExampleRepeat
--- PASS: ExampleRepeat (0.00s)
=== RUN ExampleReplace
--- PASS: ExampleReplace (0.00s)
=== RUN ExampleRunes
--- PASS: ExampleRunes (0.00s)
=== RUN ExampleSplit
--- PASS: ExampleSplit (0.00s)
=== RUN ExampleSplitN
--- PASS: ExampleSplitN (0.00s)
=== RUN ExampleSplitAfter
--- PASS: ExampleSplitAfter (0.00s)
=== RUN ExampleSplitAfterN
--- PASS: ExampleSplitAfterN (0.00s)
=== RUN ExampleTitle
--- PASS: ExampleTitle (0.00s)
=== RUN ExampleToTitle
--- PASS: ExampleToTitle (0.00s)
=== RUN ExampleTrim
--- PASS: ExampleTrim (0.00s)
=== RUN ExampleTrimFunc
--- PASS: ExampleTrimFunc (0.00s)
=== RUN ExampleMap
--- PASS: ExampleMap (0.00s)
=== RUN ExampleTrimLeft
--- PASS: ExampleTrimLeft (0.00s)
=== RUN ExampleTrimLeftFunc
--- PASS: ExampleTrimLeftFunc (0.00s)
=== RUN ExampleTrimSpace
--- PASS: ExampleTrimSpace (0.00s)
=== RUN ExampleTrimRight
--- PASS: ExampleTrimRight (0.00s)
=== RUN ExampleTrimRightFunc
--- PASS: ExampleTrimRightFunc (0.00s)
=== RUN ExampleToUpper
--- PASS: ExampleToUpper (0.00s)
=== RUN ExampleToLower
--- PASS: ExampleToLower (0.00s)
=== RUN ExampleReader_Len
--- PASS: ExampleReader_Len (0.00s)
PASS
ok bytes 101.559s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment