Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/hundt98847/multi-language-bench

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/hundt98847/multi-language-bench

  • v0.0.0-20120514170524-2f98a4495a03
  • Source
  • Go
  • Socket score

Version published
Created
Source

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

This is the GWT version of the multi-language benchmark. It is being generated from the Java version the following way:

  1. Generate a GWT project from eclipse. The wizard generates a super simple client server application, hosted in respective client and server directories.

  2. I've modified the client part and copied the Java Driver code into the request handler, such that when you press a button on the WEB page, the benchmark is being started.

  3. I copies the support libraries into a shared directory and modified all the package directories to reflect these changes.

Because of this setup, it is likely that the sources as they are won't build on your system, as there are dependencies to the tools on my system. In order to make the GWT version work, repeat step 1), inspect the changes made in step 2) and modify your sources the same way, and then copy the content of the shared/ directory as created in step 3.

All in all, this shouldn't take longer than a few minutes. Before debugging.

To build the project, from the gwt/ directory, start: ant build

Other build commands (see README.txt for details) ant war ant devmoce (starts the server)

File list: ./build.xml generated from Eclipse, the ant build file

./README this file

./README.txt generated from Eclipse, worth reading

./src ./src/com ./src/com/google ./src/com/google/havlak ./src/com/google/havlak/client ./src/com/google/havlak/client/Havlak.java this is the modified file into which I copied the Java Driver code.

./src/com/google/havlak/client/GreetingServiceAsync.java ./src/com/google/havlak/client/GreetingService.java these two files were generated by the Eclipse wizard.

./src/com/google/havlak/server ./src/com/google/havlak/shared ./src/com/google/havlak/shared/cfg ./src/com/google/havlak/shared/cfg/BasicBlockEdge.java ./src/com/google/havlak/shared/cfg/BasicBlock.java ./src/com/google/havlak/shared/cfg/CFG.java ./src/com/google/havlak/shared/havlakloopfinder ./src/com/google/havlak/shared/havlakloopfinder/HavlakLoopFinder.java ./src/com/google/havlak/shared/lsg ./src/com/google/havlak/shared/lsg/SimpleLoop.java ./src/com/google/havlak/shared/lsg/LSG.java All these files were copied from the Java version of the benchmark, but the package directives were modified to make this work in this setting.

./src/com/google/havlak/shared/FieldVerifier.java I think this is generated by the Eclipse program wizard as well for the original, simple client/server app.

./src/com/google/havlak/Havlak.gwt.xml Also, generated by Eclipse.

FAQs

Package last updated on 14 May 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc