You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/08/03 11:47:00 UTC
[jira] [Resolved] (DAFFODIL-1968) Support --stream option for CLI
performance command
[ https://issues.apache.org/jira/browse/DAFFODIL-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence resolved DAFFODIL-1968.
--------------------------------------
Fix Version/s: 3.0.0
Resolution: Won't Fix
Performance testing of streaming capabilities should become part of the more robust testing framework. Once that's added I'm not sure this capability adds much extra to be incorporated into the CLI. Resolving as won't fix.
> Support --stream option for CLI performance command
> ---------------------------------------------------
>
> Key: DAFFODIL-1968
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1968
> Project: Daffodil
> Issue Type: New Feature
> Components: CLI
> Affects Versions: 2.2.0
> Reporter: Steve Lawrence
> Priority: Minor
> Fix For: 3.0.0
>
>
> The performance subcommand currently works by creating a ByteBuffer and just repeatedly calling parse on that. In order to test streaming performance we would need to create an InputStream and continuously provide data to it, perhaps via a PipeInput/OutputStream pair or something similar. This only applies when testing parse performance (i.e. having both --stream and --unparse options should be an error).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)