Choose the server, which needs to be profiled.
- ColdFusion Tools User Guide
- Performance Monitoring Toolset
- Overview of ColdFusion Performance Monitoring Toolset
- Auto-discovery of ColdFusion nodes and clusters
- Code profiler in ColdFusion Performance Monitoring Toolset
- Configure ColdFusion Performance Monitoring Toolset settings
- Install ColdFusion Performance Monitoring Toolset
- View cloud metrics
- Monitor GraphQL in Performance Monitoring Toolset
- Configure TLS/SSL and Authentication for Elasticsearch 8.x in Performance Monitoring Toolset
- View cluster and node metrics
- View data source metrics
- View external services
- View incoming services
- View list of sites and busy connections
- View topology of sites
- Datastore Health Monitoring
- Performance Monitoring Toolset Update 1
- Secure Performance Monitoring Toolset with HTTPS/SSL
- Performance Monitoring Toolset deployment guide
- Use ColdFusion Builder
- About ColdFusion Builder
- System requirements | ColdFusion Builder
- Install ColdFusion Builder
- Edit code in ColdFusion Builder
- Manage servers in ColdFusion Builder
- Manage projects in ColdFusion Builder
- What's new in Adobe ColdFusion Builder (2018 release)
- Frequently Asked Questions (FAQ) | Adobe ColdFusion Builder (2018 release)
- Debug applications in ColdFusion Builder
- ColdFusion Builder workbench
- ColdFusion Builder extensions
- Debugging Perspective in ColdFusion Builder
- Build mobile applications using ColdFusion Builder
- Bundled ColdFusion Server
- Debug mobile applications in ColdFusion Builder
- Use extensions in ColdFusion Builder
- Coldfusion API Manager
- Overview of Adobe ColdFusion API Manager
- Features in ColdFusion API Manager
- Get started with ColdFusion API Manager
- Install ColdFusion API Manager
- Authentication types
- Create and publish APIs
- Administrator
- Subscriber
- Throttling and rate limiting
- Notifications
- Connectors
- Set up cluster support
- Integrate ColdFusion and API Manager
- Metrics and Logging in API Manager
- Generate Swagger documents
- Configure SSL
- Known issues in this release
- Policies in ColdFusion API Manager
- Create a Redis cluster
- Multitenancy in API Manager
- Docker images for ColdFusion API Manager
Adobe ColdFusion Builder is End of Life from Oct 1, 2024
Thank you for being part of the exciting journey of Adobe ColdFusion Builder.
As Adobe continues to focus on ColdFusion Builder extension for Visual Studio Code as the IDE for Adobe ColdFusion, we have decided to End of Life (EOL) Adobe ColdFusion Builder on Oct 1, 2024.
View the End of Life (EOL) announcement for ColdFusion Builder.
Code Profiler in ColdFusion Performance Monitoring Toolset
Run Code profiler
The Performance Monitoring Toolset monitors all transactions on a ColdFusion server and captures the response times along with other basic details of a transaction.
The procedure requires recording metrics for all components of a transaction, and thus you have the Code Profiler.
To run the code profiler, click Code Profiler on the left panel.
The tags that are not captured in profiling are:
- cfif
- cfelse
- cfelseif
- cftry
- cfcatch
- cfset
-
-
Enable the option Memory Profiling.
The option lets you know the memory consumption and the location of the variable. The field is optional. Enable it if you want to profile memory usage as well.
-
Choose the profile mode:
- Application: Specify the name of the application, that needs profiling. Profiling does not capture the data for other applications, which are not added.
- URL: Specify a URL that needs profiling. Add the URL and make sure that profile check-box is selected. Profiling does not capture the data for other URLs, which are not added.
- Server: Choose the server that needs profiling.
-
To start the process, click Start Profiling. You can view the profiling results, as shown below:
-
In the Actions column, you can:
- View profile data
- Download a profile data
- Delete a profile data
The Code Profiler only profiles the following built-in functions:
- ORM
- ORMSearch
- ORMSearchOffline
- Encode*
- Decode*
- XMLFormat
- JSformat
- Encryption
- SecretKey
- GetSOAPRequest
- ObjectLoad
- ObjectSave
- Compare
- Wrap
- REFInd
- REFindNocase
- REMatch
- File operation functions
- PrinterInfo
- StructAppend
- RunAsync
- StructToSorted
- Sort
- Map
- Each
- Filter
- Find
- Reduce
- Evaluate
- PrecisionEvaluate
- DateDiff
- Xml functions
- Array functions
View profile data
To view the profile data, click the Eye icon in the Action column.
-
Expand an execution, as shown below:
-
Click the url of the cfm that you had run.
You can see the following sections:
Basic info
The section displays the following details:
- HTTP method
- URI
- Status code
- Response time
- Template path
- Cluster id
- ...and more
Code flow
The section displays the cfm file's particular line number and the time taken by the code in that line to execute.
CF server
The section displays the following details:
- JVM: You can view, for example, memory usage of heap and non-heap, count of GC, and other JVM properties.
- Template cache size: You can view, for example, template cache count and hit ratio.
- Request queue size
- Throttle data
Database
View the databases that are used in the cfm.
External services
View services, such as, cfhttp, cfftp, or cffeed.
Tags/Functions
View the tags and functions that are used in the cfm and the number of times they are called.
Error/Timeout
View timeout errors, if any, when executing the cfm.
Memory
View the places that contain each variable used in the cfm along with the name of the function and function scopes.
Download a profile data
To download the profile data, click the Download button in the Action column.
-
Once you download the profile data as .json file, you can use ColdFusion Builder to import the profile data and can debug further.
-
In ColdFusion Builder, right-click on a project, click Import, and choose Import Code Profiler Data.
To proceed, click Next.
-
Choose the .json file and click Finish.
-
Right-click on the project, click Performance Monitoring Toolset Profiler > Run Performance Monitoring Toolset Profiler.
You can see the results in the profiler tab, as shown below:
To view the line in the file, double-click any item.
Note:The code must be in sync with the project before running the code profiler. Otherwise, the line points to a wrong place in the code.