[
https://issues.apache.org/jira/browse/AVRO-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp updated AVRO-2523:
------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Perf's usage doesn't show the option for specific record test
> -------------------------------------------------------------
>
> Key: AVRO-2523
> URL: https://issues.apache.org/jira/browse/AVRO-2523
> Project: Apache Avro
> Issue Type: Bug
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Trivial
> Fix For: 1.10.0
>
>
> I tried to run the (now deprecated) Perf tool to measure the performance for
> specific records, but couldn't find that option in the usage.
> {code:java}
> ~/avro/lang/java/ipc$ mvn exec:java -Dexec.classpathScope=test
> -Dexec.mainClass=org.apache.avro.io.Perf -Dexec.args="-h"
> (snip)
> Usage: Perf [-o <file>] [-c <spec>] { -nowrite | -noread }-basic | -i | -ls |
> -l | -f | -d | -b | -by | -s | -a | -m | -ee | -uu | -record | -R | -Rv | -Rr
> | -Rd | -Ro | -Rp | -generic | -G | -Gs | -Gn | -Gf | -Gd | -Go | -Gp |
> -generic-onetime | -Gotd | -Gotr | -Got | -reflect | -REFr | -REFbr | -REFf |
> -REFd | -REFia | -REFla | -REFda | -REFfa | -REFnf | -REFno | -REFnlf |
> -REFnlfb }
> -o file (send output to a file)
> -c [n][t][e][b][c][m] (format as no-header CSV; include Name, Time,
> Entries/sec, Bytes/sec, bytes/Cycle, and/or min time/op; no spec=all fields)
> -nowrite (do not execute write tests)
> -noread (do not execute write tests)
> -basic (executes all basic tests):
> -i (IntTest)
> -ls (SmallLongTest)
> -l (LongTest)
> -f (FloatTest)
> -d (DoubleTest)
> -b (BoolTest)
> -by (BytesTest)
> -s (StringTest)
> -a (ArrayTest)
> -m (MapTest)
> -ee (ExtendedEnumResolveTest)
> -uu (UnchangedUnionResolveTest)
> -record (executes all record tests):
> -R (RecordTest)
> -Rv (ValidatingRecord)
> -Rr (ResolvingRecord)
> -Rd (RecordWithDefault)
> -Ro (RecordWithOutOfOrder)
> -Rp (RecordWithPromotion)
> -generic (executes all generic tests):
> -G (GenericTest)
> -Gs (GenericStrings)
> -Gn (GenericNested)
> -Gf (GenericNestedFake)
> -Gd (GenericWithDefault)
> -Go (GenericWithOutOfOrder)
> -Gp (GenericWithPromotion)
> -generic-onetime (executes all generic-onetime tests):
> -Gotd (GenericOneTimeDecoderUse)
> -Gotr (GenericOneTimeReaderUse)
> -Got (GenericOneTimeUse)
> -reflect (executes all reflect tests):
> -REFr (ReflectRecordTest)
> -REFbr (ReflectBigRecordTest)
> -REFf (ReflectFloatTest)
> -REFd (ReflectDoubleTest)
> -REFia (ReflectIntArrayTest)
> -REFla (ReflectLongArrayTest)
> -REFda (ReflectDoubleArrayTest)
> -REFfa (ReflectFloatArrayTest)
> -REFnf (ReflectNestedFloatArrayTest)
> -REFno (ReflectNestedObjectArrayTest)
> -REFnlf (ReflectNestedLargeFloatArrayTest)
> -REFnlfb (ReflectNestedLargeFloatArrayBlockedTest)
> {code}
> But there's a "-Sf" option actually, though it's not displayed in the above
> messages.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)