Kengo Seki created AVRO-2523: -------------------------------- Summary: 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
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} ~/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 are "-specific" and "-Sf" options actually, though it's not displayed in the above messages. -- This message was sent by Atlassian Jira (v8.3.2#803003)