Jira (PUP-8327) Optimize TypeParser for common data type string

1 view
Skip to first unread message

Henrik Lindberg (JIRA)

unread,
Jan 8, 2018, 6:13:03 AM1/8/18
to puppe...@googlegroups.com
Henrik Lindberg created an issue
 
Puppet / Improvement PUP-8327
Optimize TypeParser for common data type string
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2018/01/08 3:12 AM
Priority: Normal Normal
Reporter: Henrik Lindberg

The TypeParser uses the regular puppet parser to get a data type from a string with the definition of a data type (for example "String[1]"). This is done because types can be complex expressions. Most use of data types is however very simple. There is an opportunity to optimize the performance by checking for simple and common data types and skip lexing/parsing/validation etc.

Optimization could recognize all unparameterized data types, as well as the most common parameterized data types like:

  • String[1]
  • Array[1]
  • Boolean[false], Boolean[true]
  • Optional[String], Optional[Integer], ...
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
Jan 8, 2018, 6:16:02 AM1/8/18
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Fix Version/s: PUP 5.y

Henrik Lindberg (JIRA)

unread,
Jan 11, 2018, 1:09:02 PM1/11/18
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Jan 11, 2018, 1:09:03 PM1/11/18
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Fix Version/s: PUP 5.y
Fix Version/s: PUP 5.4.0

Thomas Hallgren (JIRA)

unread,
Jan 11, 2018, 1:25:03 PM1/11/18
to puppe...@googlegroups.com

Thomas Hallgren (JIRA)

unread,
Jan 11, 2018, 1:25:04 PM1/11/18
to puppe...@googlegroups.com
Thomas Hallgren assigned an issue to Unassigned
 
Change By: Thomas Hallgren
Assignee: Thomas Hallgren

Thomas Hallgren (JIRA)

unread,
Jan 12, 2018, 1:04:08 PM1/12/18
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Jan 25, 2018, 11:08:03 AM1/25/18
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Release Notes Summary: Since we have no real world benchmarks for this it is not worth a release note.
Release Notes: Not Needed

Josh Cooper (JIRA)

unread,
Feb 4, 2018, 12:06:03 AM2/4/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sub-team: Language
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Josh Cooper (JIRA)

unread,
Feb 4, 2018, 12:06:03 AM2/4/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Platform Core KANBAN

John Duarte (JIRA)

unread,
Oct 21, 2019, 10:52:03 AM10/21/19
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Risk Assessment: Needs Assessment No Action
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages