xhgui | Web interface for XHProf profiling data | Database library

 by   perftools JavaScript Version: 0.21.3 License: No License

kandi X-RAY | xhgui Summary

kandi X-RAY | xhgui Summary

xhgui is a JavaScript library typically used in Database, MongoDB, Oracle applications. xhgui has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

A graphical interface for XHProf profiling data that can store the results in MongoDB or PDO database. Application is profiled and the profiling data is transferred to XHGui, which takes that information, saves it in MongoDB (or PDO database), and provides a convenient GUI for working with it.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              xhgui has a medium active ecosystem.
              It has 1598 star(s) with 342 fork(s). There are 70 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 24 open issues and 151 have been closed. On average issues are closed in 537 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of xhgui is 0.21.3

            kandi-Quality Quality

              xhgui has 0 bugs and 0 code smells.

            kandi-Security Security

              xhgui has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              xhgui code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              xhgui does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              xhgui releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed xhgui and discovered the below as its top functions. This is intended to give you an instant insight into xhgui implemented functionality, and help decide if they suit your requirements.
            • Takes a donus segment of the vertices .
            • Default prefet handler .
            • trigger brush event
            • Callback for the AJAX request .
            • Create an animation
            • Creates a new matcher matcher .
            • Create a compound .
            • Creates a new matcher handler .
            • clip - area clip - intercept
            • d3d tree layout
            Get all kandi verified functions for this library.

            xhgui Key Features

            No Key Features are available at this moment for xhgui.

            xhgui Examples and Code Snippets

            No Code Snippets are available at this moment for xhgui.

            Community Discussions

            QUESTION

            Xhprof / xhgui : xhgui - document to insert contains invalid key: keys cannot contain "."
            Asked 2017-Nov-30 at 10:00

            I'm trying to setup Xhgui with Xhprof. I followed the github instructions (https://github.com/perftools/xhgui), but this error message keeps appearing in error logs :

            "xhgui - document to insert contains invalid key: keys cannot contain ".": "main()==>load..."

            Looks like mongoDB can't use dots in keys, but yet Xhgui is trying to do that.

            Is there a way do disable this limitation in mongoDB ? Or to fix this bug in Xhgui ?

            ...

            ANSWER

            Answered 2017-Nov-30 at 10:00

            https://github.com/perftools/xhgui/issues/209#issuecomment-339281276

            For anyone experiencing this issue, I was able to make it work by adding the following snippet of code to xhgui/external/header.php right before ignore_user_abort(true); call. Not sure how correct is this and if it could affect anything else, but it did the trick for me.

            Source https://stackoverflow.com/questions/46466324

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install xhgui

            Clone or download xhgui from GitHub. Point your webserver to the webroot directory. Set the permissions on the cache directory to allow the webserver to create files. If you're lazy, 0777 will work.
            Clone or download xhgui from GitHub.
            Point your webserver to the webroot directory.
            Set the permissions on the cache directory to allow the webserver to create files. If you're lazy, 0777 will work. The following command changes the permissions for the cache directory: chmod -R 0777 cache
            Start a MongoDB instance. XHGui uses the MongoDB instance to store profiling data.
            If your MongoDB setup uses authentication, or isn't running on the default port and localhost, update XHGui's config/config.php so that XHGui can connect to your mongod instance.
            (Optional, but recommended) Add indexes to MongoDB to improve performance. XHGui stores profiling information in a results collection in the xhprof database in MongoDB. Adding indexes improves performance, letting you navigate pages more quickly. To add an index, open a mongo shell from your command prompt. Then, use MongoDB's db.collection.ensureIndex() method to add the indexes, as in the following: $ mongo > use xhprof > db.results.ensureIndex( { 'meta.SERVER.REQUEST_TIME' : -1 } ) > db.results.ensureIndex( { 'profile.main().wt' : -1 } ) > db.results.ensureIndex( { 'profile.main().mu' : -1 } ) > db.results.ensureIndex( { 'profile.main().cpu' : -1 } ) > db.results.ensureIndex( { 'meta.url' : 1 } ) > db.results.ensureIndex( { 'meta.simple_url' : 1 } ) > db.results.ensureIndex( { 'meta.SERVER.SERVER_NAME' : 1 } )
            Install dependencies with composer composer install --no-dev
            Set up your webserver. The Configuration section below describes how to setup the rewrite rules for both nginx and apache.
            This setup uses docker-compose to orchestrate docker containers.
            Clone or download xhgui from GitHub.
            Startup the containers: docker-compose up -d
            Open your browser at http://xhgui.127.0.0.1.xip.io:8142 or just http://localhost:8142 or type at terminal composer open
            To customize xhgui, copy config/config.default.php to config/config.php and edit that file.
            To customize docker-compose, copy docker-compose.yml to docker-compose.override.yml and edit that file.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/perftools/xhgui.git

          • CLI

            gh repo clone perftools/xhgui

          • sshUrl

            git@github.com:perftools/xhgui.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link